[Asterisk-cvs] asterisk/codecs/lpc10 Makefile,1.12,1.13
markster at lists.digium.com
markster at lists.digium.com
Tue Aug 31 12:29:35 CDT 2004
Update of /usr/cvsroot/asterisk/codecs/lpc10
In directory mongoose.digium.com:/tmp/cvs-serv32361/codecs/lpc10
Modified Files:
Makefile
Log Message:
More Asterisk sparc patches (courtesy Belgarath)
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/lpc10/Makefile,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Makefile 31 Aug 2004 03:31:59 -0000 1.12
+++ Makefile 31 Aug 2004 16:33:00 -0000 1.13
@@ -31,8 +31,13 @@
ifneq ($(PROC),ppc)
ifneq ($(PROC),x86_64)
ifneq ($(PROC),alpha)
+#The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
+#This works for even old (2.96) versions of gcc and provides a small boost either way.
+#A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesn.t support it.
+#So we go lowest common available by gcc and go a step down, still a step up from
+#the default as we now have a better instruction set to work with. - Belgarath
ifeq ($(PROC),ultrasparc)
- CFLAGS+= -mtune=$(PROC)
+ CFLAGS+= -mtune=$(PROC) -mcpu=v8 -O3 -fomit-frame-pointer
else
CFLAGS+= -march=$(PROC)
endif
More information about the svn-commits
mailing list