[Asterisk-cvs] asterisk/codecs/lpc10 Makefile,1.11,1.12
markster at lists.digium.com
markster at lists.digium.com
Mon Aug 30 23:28:31 CDT 2004
Update of /usr/cvsroot/asterisk/codecs/lpc10
In directory mongoose.digium.com:/tmp/cvs-serv28445/codecs/lpc10
Modified Files:
Makefile
Log Message:
Adjust Makefiles to support Ultrasparc architecture (thanks Belgarath) (bug #2319)
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/lpc10/Makefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Makefile 22 Jun 2004 17:42:14 -0000 1.11
+++ Makefile 31 Aug 2004 03:31:59 -0000 1.12
@@ -25,13 +25,17 @@
CFLAGS += $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) -fPIC
#CFLAGS+= $(shell if uname -m | grep -q 86; then echo "-mpentium" ; fi)
-#fix for PPC processors and ALPHA too
+#fix for PPC processors and ALPHA, And UltraSparc too
ifneq ($(OSARCH),Darwin)
ifneq ($(findstring BSD,${OSARCH}),BSD)
ifneq ($(PROC),ppc)
ifneq ($(PROC),x86_64)
ifneq ($(PROC),alpha)
- CFLAGS+= -march=$(PROC)
+ifeq ($(PROC),ultrasparc)
+ CFLAGS+= -mtune=$(PROC)
+else
+ CFLAGS+= -march=$(PROC)
+endif
endif
endif
endif
More information about the svn-commits
mailing list