summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-12 15:16:45 -0700
committerDavid S. Miller <davem@davemloft.net>2012-05-12 15:16:45 -0700
commit5471fa6265a1facadcd593d995a76804fc641106 (patch)
tree0043da8d4b80fbf8f3f486c5fc2fe797dc1107bc
parent301d5bbb52e076caf0ee5abf68652a50168dc732 (diff)
downloadlinux-3.10-5471fa6265a1facadcd593d995a76804fc641106.tar.gz
linux-3.10-5471fa6265a1facadcd593d995a76804fc641106.tar.bz2
linux-3.10-5471fa6265a1facadcd593d995a76804fc641106.zip
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 <davem@davemloft.net>
-rw-r--r--arch/sparc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile
index eddcfb36aaf..cd2afcc6ecf 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