]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc: Enforce a non-spe kernel build even on broken compilers
authorThiemo Seufer <ths@linutronix.de>
Mon, 1 Sep 2008 14:23:02 +0000 (00:23 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 15 Sep 2008 18:08:41 +0000 (11:08 -0700)
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>
arch/powerpc/Makefile

index 4df38cbb41498d2aa9918c08368322d4313e80d5..24dd1a37f8fb93268b120ac844bd62880eb2a7de 100644 (file)
@@ -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.