diff options
author | Thiemo Seufer <ths@linutronix.de> | 2008-09-01 10:23:02 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-09-15 14:08:41 -0400 |
commit | ce400c0102d8e1367266115ce6bc22333e5e3da6 (patch) | |
tree | e8017f3801f607801e7a031b22872574cdeace14 /arch/powerpc/Makefile | |
parent | d6c93adbeb98c56e19f7df37633566b39fbcd4c9 (diff) |
powerpc: Enforce a non-spe kernel build even on broken compilers
Those two are required on my fresh gcc 4.3.1.
Signed-off-by: Thiemo Seufer <ths@linutronix.de>
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Makefile')
-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. |