diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -591,6 +591,11 @@ KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow) | |||
591 | # conserve stack if available | 591 | # conserve stack if available |
592 | KBUILD_CFLAGS += $(call cc-option,-fconserve-stack) | 592 | KBUILD_CFLAGS += $(call cc-option,-fconserve-stack) |
593 | 593 | ||
594 | # check for 'asm goto' | ||
595 | ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC)), y) | ||
596 | KBUILD_CFLAGS += -DCC_HAVE_ASM_GOTO | ||
597 | endif | ||
598 | |||
594 | # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments | 599 | # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments |
595 | # But warn user when we do so | 600 | # But warn user when we do so |
596 | warn-assign = \ | 601 | warn-assign = \ |