summaryrefslogtreecommitdiffstats
path: root/kernel/events/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/events/Makefile')
-rw-r--r--kernel/events/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/events/Makefile b/kernel/events/Makefile
index 103f5d147b2f..2925188f50ea 100644
--- a/kernel/events/Makefile
+++ b/kernel/events/Makefile
@@ -1,5 +1,5 @@
ifdef CONFIG_FUNCTION_TRACER
-CFLAGS_REMOVE_core.o = -pg
+CFLAGS_REMOVE_core.o = $(CC_FLAGS_FTRACE)
endif
obj-y := core.o ring_buffer.o callchain.o