diff options
author | Thiemo Seufer <ths@linutronix.de> | 2008-09-01 18:23:02 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-09-15 22:08:41 +0400 |
commit | ce400c0102d8e1367266115ce6bc22333e5e3da6 (patch) | |
tree | e8017f3801f607801e7a031b22872574cdeace14 /arch/powerpc/Makefile | |
parent | d6c93adbeb98c56e19f7df37633566b39fbcd4c9 (diff) | |
download | linux-ce400c0102d8e1367266115ce6bc22333e5e3da6.tar.xz |
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 KBUILD_CFLAGS += $(call cc-option,-mno-altivec) # No SPE instruction when building kernel +# (We use all available options to help semi-broken compilers) KBUILD_CFLAGS += $(call cc-option,-mno-spe) +KBUILD_CFLAGS += $(call cc-option,-mspe=no) +KBUILD_CFLAGS += $(call cc-option,-mabi=no-spe) # Enable unit-at-a-time mode when possible. It shrinks the # kernel considerably. |