xref: /openbmc/linux/mm/kasan/Makefile (revision ba61bb17)
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