[Asterisk-cvs] asterisk/codecs/gsm Makefile,1.16,1.17

markster at lists.digium.com markster at lists.digium.com
Tue Aug 31 12:29:35 CDT 2004


Update of /usr/cvsroot/asterisk/codecs/gsm
In directory mongoose.digium.com:/tmp/cvs-serv32361/codecs/gsm

Modified Files:
	Makefile 
Log Message:
More Asterisk sparc patches (courtesy Belgarath)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/gsm/Makefile,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- Makefile	31 Aug 2004 03:31:59 -0000	1.16
+++ Makefile	31 Aug 2004 16:33:00 -0000	1.17
@@ -49,6 +49,15 @@
 endif
 endif
 
+#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)
+OPTIMIZE+=-mcpu=v8 -mtune=$(PROC) -O3 -fomit-frame-pointer
+endif
+
 PG =
 #PG = -g -pg
 ######### Profiling flags.  If you don't know what that means, leave it blank.




More information about the svn-commits mailing list