aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 4df38cbb4149..24dd1a37f8fb 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -104,7 +104,10 @@ endif
104KBUILD_CFLAGS += $(call cc-option,-mno-altivec) 104KBUILD_CFLAGS += $(call cc-option,-mno-altivec)
105 105
106# No SPE instruction when building kernel 106# No SPE instruction when building kernel
107# (We use all available options to help semi-broken compilers)
107KBUILD_CFLAGS += $(call cc-option,-mno-spe) 108KBUILD_CFLAGS += $(call cc-option,-mno-spe)
109KBUILD_CFLAGS += $(call cc-option,-mspe=no)
110KBUILD_CFLAGS += $(call cc-option,-mabi=no-spe)
108 111
109# Enable unit-at-a-time mode when possible. It shrinks the 112# Enable unit-at-a-time mode when possible. It shrinks the
110# kernel considerably. 113# kernel considerably.