aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index b0fac2d436b7..ebd5d02a7d78 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -602,7 +602,9 @@ ifdef CONFIG_64BIT
602 endif 602 endif
603 603
604 ifeq ($(KBUILD_SYM32), y) 604 ifeq ($(KBUILD_SYM32), y)
605 cflags-y += -msym32 -DKBUILD_64BIT_SYM32 605 ifeq ($(call cc-option-yn,-msym32), y)
606 cflags-y += -msym32 -DKBUILD_64BIT_SYM32
607 endif
606 endif 608 endif
607endif 609endif
608 610