[Asterisk-cvs] asterisk/codecs/gsm Makefile,1.11,1.12

malcolmd at lists.digium.com malcolmd at lists.digium.com
Thu Jan 15 15:39:34 CST 2004


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

Modified Files:
	Makefile 
Log Message:
Bug #857.  More fixes for GSM Makefile for PPC


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/gsm/Makefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Makefile	8 Jan 2004 16:52:11 -0000	1.11
+++ Makefile	15 Jan 2004 21:31:26 -0000	1.12
@@ -39,9 +39,11 @@
 
 ifneq (${OSARCH},Darwin)
 ifneq (${PROC},x86_64)
+ifneq ($(shell uname -m),ppc)
 OPTIMIZE+=-march=$(PROC)
 endif
 endif
+endif
 
 PG =
 #PG = -g -pg
@@ -197,9 +199,11 @@
 		$(SRC)/table.c
 ifeq (${OSARCH},Linux)
 ifneq (${PROC},x86_64)
+ifneq ($(shell uname -m),ppc)
 GSM_SOURCES+=	$(SRC)/k6opt.s
 endif
 endif
+endif
 
 TOAST_SOURCES = $(SRC)/toast.c 		\
 		$(SRC)/toast_lin.c	\
@@ -246,7 +250,9 @@
 		$(SRC)/table.o
 ifeq (${OSARCH},Linux)
 ifneq (${PROC},x86_64)
+ifneq ($(shell uname -m), ppc)
 GSM_OBJECTS+=	$(SRC)/k6opt.o
+endif
 endif
 endif
 




More information about the svn-commits mailing list