diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-29 07:31:17 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-29 07:31:17 +0200 |
commit | d3f67fbb96b827c1a6a7a82689e589865581155c (patch) | |
tree | 458e62c889c5ef4888010df3d590785e80cdf012 /arch/powerpc/Makefile | |
parent | [PATCH] ppc64 memory model depends on NUMA (diff) | |
download | linux-d3f67fbb96b827c1a6a7a82689e589865581155c.tar.xz linux-d3f67fbb96b827c1a6a7a82689e589865581155c.zip |
powerpc: Add -mno-altivec for ARCH=powerpc builds
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r-- | arch/powerpc/Makefile | 3 |
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 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) |