From patchwork Sat May 12 22:20:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: sparc32: Pass -mcpu=v7 explicitly to gcc. Date: Sat, 12 May 2012 12:20:57 -0000 From: David Miller X-Patchwork-Id: 158787 Message-Id: <20120512.182057.119046891010844835.davem@davemloft.net> To: sparclinux@vger.kernel.org We should be agnostic to what gcc happens to be generating by default. Signed-off-by: David S. Miller --- arch/sparc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile index eddcfb3..cd2afcc 100644 --- a/arch/sparc/Makefile +++ b/arch/sparc/Makefile @@ -30,7 +30,7 @@ export BITS := 32 UTS_MACHINE := sparc #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7 -KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 +KBUILD_CFLAGS += -m32 -mcpu=v7 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 KBUILD_AFLAGS += -m32 -Wa,-Av8 #LDFLAGS_vmlinux = -N -Ttext 0xf0004000