From: Paul Mackerras Date: Sat, 29 Oct 2005 05:31:17 +0000 (+1000) Subject: powerpc: Add -mno-altivec for ARCH=powerpc builds X-Git-Tag: v2.6.15-rc1~59^2~23 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3f67fbb96b827c1a6a7a82689e589865581155c;p=linux-2.6 powerpc: Add -mno-altivec for ARCH=powerpc builds Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 29cda07327..2f4cce06a7 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)