Skip to content

Commit

Permalink
powerpc: Enforce a non-spe kernel build even on broken compilers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thiemo Seufer authored and Paul Mackerras committed Sep 15, 2008
1 parent d6c93ad commit ce400c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/powerpc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ce400c0

Please sign in to comment.