mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
rk: Makefile: fix Revert "x86: Force asm-goto"
Aftere08d6de4e5("kbuild: remove kbuild cache"), shell-cached is not work anymore. Fixes:d9e69500bc("Revert "x86: Force asm-goto"") Change-Id: Id6a4bdaacc8c2f1d5ace566941799d1e352bc028 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -694,7 +694,7 @@ KBUILD_CFLAGS += $(call cc-ifversion, -lt, 0409, \
|
||||
KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0)
|
||||
|
||||
# check for 'asm goto'
|
||||
ifeq ($(call shell-cached,$(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC) $(KBUILD_CFLAGS)), y)
|
||||
ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC) $(KBUILD_CFLAGS)), y)
|
||||
KBUILD_CFLAGS += -DCC_HAVE_ASM_GOTO
|
||||
KBUILD_AFLAGS += -DCC_HAVE_ASM_GOTO
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user