diff options
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -638,7 +638,7 @@ KBUILD_CFLAGS += $(call cc-ifversion, -lt, 0409, \ | |||
| 638 | KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0) | 638 | KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0) |
| 639 | 639 | ||
| 640 | # check for 'asm goto' | 640 | # check for 'asm goto' |
| 641 | ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC) $(KBUILD_CFLAGS)), y) | 641 | ifeq ($(call shell-cached,$(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC) $(KBUILD_CFLAGS)), y) |
| 642 | KBUILD_CFLAGS += -DCC_HAVE_ASM_GOTO | 642 | KBUILD_CFLAGS += -DCC_HAVE_ASM_GOTO |
| 643 | KBUILD_AFLAGS += -DCC_HAVE_ASM_GOTO | 643 | KBUILD_AFLAGS += -DCC_HAVE_ASM_GOTO |
| 644 | endif | 644 | endif |
| @@ -774,7 +774,7 @@ KBUILD_CFLAGS += $(call cc-option,-fdata-sections,) | |||
| 774 | endif | 774 | endif |
| 775 | 775 | ||
| 776 | # arch Makefile may override CC so keep this after arch Makefile is included | 776 | # arch Makefile may override CC so keep this after arch Makefile is included |
| 777 | NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) | 777 | NOSTDINC_FLAGS += -nostdinc -isystem $(call shell-cached,$(CC) -print-file-name=include) |
| 778 | CHECKFLAGS += $(NOSTDINC_FLAGS) | 778 | CHECKFLAGS += $(NOSTDINC_FLAGS) |
| 779 | 779 | ||
| 780 | # warn about C99 declaration after statement | 780 | # warn about C99 declaration after statement |
