aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-29 01:31:17 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-29 01:31:17 -0400
commitd3f67fbb96b827c1a6a7a82689e589865581155c (patch)
tree458e62c889c5ef4888010df3d590785e80cdf012
parentffa27b6bc61c3be76a756100f777372768bcc3ab (diff)
powerpc: Add -mno-altivec for ARCH=powerpc builds
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 29cda0732703..2f4cce06a7e5 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -93,6 +93,9 @@ else
93endif 93endif
94endif 94endif
95 95
96# No AltiVec instruction when building kernel
97CFLAGS += $(call cc-option,-mno-altivec)
98
96# Enable unit-at-a-time mode when possible. It shrinks the 99# Enable unit-at-a-time mode when possible. It shrinks the
97# kernel considerably. 100# kernel considerably.
98CFLAGS += $(call cc-option,-funit-at-a-time) 101CFLAGS += $(call cc-option,-funit-at-a-time)