Message ID | 20171127213423.27218-14-andi@firstfloor.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/kernel/trace/Makefile b/kernel/trace/Makefile index e2538c7638d4..a471a08305e9 100644 --- a/kernel/trace/Makefile +++ b/kernel/trace/Makefile @@ -8,7 +8,7 @@ KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS)) ifdef CONFIG_FTRACE_SELFTEST # selftest needs instrumentation -CFLAGS_trace_selftest_dynamic.o = $(CC_FLAGS_FTRACE) +CFLAGS_trace_selftest_dynamic.o = $(CC_FLAGS_FTRACE) ${DISABLE_LTO} obj-y += trace_selftest_dynamic.o endif endif