projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6c93ad
)
powerpc: Enforce a non-spe kernel build even on broken compilers
author
Thiemo Seufer
<
[email protected]
>
Mon, 1 Sep 2008 14:23:02 +0000
(
00:23
+1000)
committer
Paul Mackerras
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Sebastian Siewior <
[email protected]
>
Signed-off-by: Paul Mackerras <
[email protected]
>
arch/powerpc/Makefile
patch
|
blob
|
history
diff --git
a/arch/powerpc/Makefile
b/arch/powerpc/Makefile
index 4df38cbb41498d2aa9918c08368322d4313e80d5..24dd1a37f8fb93268b120ac844bd62880eb2a7de 100644
(file)
--- 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.