diff options
Diffstat (limited to 'kernel/mm/kasan/Makefile')
-rw-r--r-- | kernel/mm/kasan/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/mm/kasan/Makefile b/kernel/mm/kasan/Makefile new file mode 100644 index 000000000..bd837b8c2 --- /dev/null +++ b/kernel/mm/kasan/Makefile @@ -0,0 +1,8 @@ +KASAN_SANITIZE := n + +CFLAGS_REMOVE_kasan.o = -pg +# Function splitter causes unnecessary splits in __asan_load1/__asan_store1 +# see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63533 +CFLAGS_kasan.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector) + +obj-y := kasan.o report.o |