aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7c917e930835..618911026ac3 100644
--- a/Makefile
+++ b/Makefile
@@ -529,6 +529,10 @@ KBUILD_CFLAGS += -g
529KBUILD_AFLAGS += -gdwarf-2 529KBUILD_AFLAGS += -gdwarf-2
530endif 530endif
531 531
532ifdef CONFIG_FTRACE
533KBUILD_CFLAGS += -pg
534endif
535
532# We trigger additional mismatches with less inlining 536# We trigger additional mismatches with less inlining
533ifdef CONFIG_DEBUG_SECTION_MISMATCH 537ifdef CONFIG_DEBUG_SECTION_MISMATCH
534KBUILD_CFLAGS += $(call cc-option, -fno-inline-functions-called-once) 538KBUILD_CFLAGS += $(call cc-option, -fno-inline-functions-called-once)