From 5471fa6265a1facadcd593d995a76804fc641106 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Sat, 12 May 2012 15:16:45 -0700 Subject: [PATCH] sparc32: Pass -mcpu=v7 explicitly to gcc. 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 eddcfb36aafb..cd2afcc6ecf5 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 -- 2.20.1