All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sparc32: Pass -mcpu=v7 explicitly to gcc.
@ 2012-05-12 22:20 David Miller
  2012-05-13  0:27 ` Tom Callaway
  2012-05-13  1:23 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: David Miller @ 2012-05-12 22:20 UTC (permalink / raw)
  To: sparclinux


We should be agnostic to what gcc happens to be generating by default.

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 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
-- 
1.7.10


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-13  1:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-12 22:20 [PATCH] sparc32: Pass -mcpu=v7 explicitly to gcc David Miller
2012-05-13  0:27 ` Tom Callaway
2012-05-13  1:23 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.