From: Paul Mackerras Date: Sat, 29 Oct 2005 05:31:17 +0000 (+1000) Subject: powerpc: Add -mno-altivec for ARCH=powerpc builds X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d3f67fbb96b827c1a6a7a82689e589865581155c;p=linux-beck.git powerpc: Add -mno-altivec for ARCH=powerpc builds Signed-off-by: Paul Mackerras --- 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)