summaryrefslogtreecommitdiffstats
path: root/mm/kfence/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mm/kfence/Makefile')
-rw-r--r--mm/kfence/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/kfence/Makefile b/mm/kfence/Makefile
index d991e9a349f0..6872cd5e5390 100644
--- a/mm/kfence/Makefile
+++ b/mm/kfence/Makefile
@@ -1,3 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_KFENCE) := core.o report.o
+
+CFLAGS_kfence_test.o := -g -fno-omit-frame-pointer -fno-optimize-sibling-calls
+obj-$(CONFIG_KFENCE_KUNIT_TEST) += kfence_test.o