diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -520,6 +520,11 @@ KBUILD_CFLAGS += -g | |||
520 | KBUILD_AFLAGS += -gdwarf-2 | 520 | KBUILD_AFLAGS += -gdwarf-2 |
521 | endif | 521 | endif |
522 | 522 | ||
523 | # We trigger additional mismatches with less inlining | ||
524 | ifdef CONFIG_DEBUG_SECTION_MISMATCH | ||
525 | KBUILD_CFLAGS += $(call cc-option, -fno-inline-functions-called-once) | ||
526 | endif | ||
527 | |||
523 | # Force gcc to behave correct even for buggy distributions | 528 | # Force gcc to behave correct even for buggy distributions |
524 | KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) | 529 | KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) |
525 | 530 | ||