commit | d3f67fbb96b827c1a6a7a82689e589865581155c | [log] [tgz] |
---|---|---|
author | Paul Mackerras <paulus@samba.org> | Sat Oct 29 15:31:17 2005 +1000 |
committer | Paul Mackerras <paulus@samba.org> | Sat Oct 29 15:31:17 2005 +1000 |
tree | 458e62c889c5ef4888010df3d590785e80cdf012 | |
parent | ffa27b6bc61c3be76a756100f777372768bcc3ab [diff] |
powerpc: Add -mno-altivec for ARCH=powerpc builds Signed-off-by: Paul Mackerras <paulus@samba.org>
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 29cda07..2f4cce0 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile
@@ -93,6 +93,9 @@ endif endif +# No AltiVec instruction when building kernel +CFLAGS += $(call cc-option,-mno-altivec) + # Enable unit-at-a-time mode when possible. It shrinks the # kernel considerably. CFLAGS += $(call cc-option,-funit-at-a-time)