diff options
-rw-r--r-- | arch/powerpc/Makefile | 3 |
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 | |||
104 | KBUILD_CFLAGS += $(call cc-option,-mno-altivec) | 104 | KBUILD_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) | ||
107 | KBUILD_CFLAGS += $(call cc-option,-mno-spe) | 108 | KBUILD_CFLAGS += $(call cc-option,-mno-spe) |
109 | KBUILD_CFLAGS += $(call cc-option,-mspe=no) | ||
110 | KBUILD_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. |