diff --git a/arch/mips/Makefile b/arch/mips/Makefile index b0fac2d436b7f8b96a4c782da1da6fb97b54072d..ebd5d02a7d786e73d738ba3b071949ac3f1efe47 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -602,7 +602,9 @@ ifdef CONFIG_64BIT endif ifeq ($(KBUILD_SYM32), y) - cflags-y += -msym32 -DKBUILD_64BIT_SYM32 + ifeq ($(call cc-option-yn,-msym32), y) + cflags-y += -msym32 -DKBUILD_64BIT_SYM32 + endif endif endif