xref: /linux/mm/kasan/Makefile (revision fd639726bf15fca8ee1a00dce8e0096d0ad9bd18)
1# SPDX-License-Identifier: GPL-2.0
2KASAN_SANITIZE := n
3UBSAN_SANITIZE_kasan.o := n
4KCOV_INSTRUMENT := n
5
6CFLAGS_REMOVE_kasan.o = -pg
7# Function splitter causes unnecessary splits in __asan_load1/__asan_store1
8# see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63533
9CFLAGS_kasan.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector)
10
11obj-y := kasan.o report.o kasan_init.o quarantine.o
12