[Asterisk-cvs] asterisk/channels/h323 Makefile,1.21,1.22

markster at lists.digium.com markster at lists.digium.com
Sat Jan 15 13:01:14 CST 2005


Update of /usr/cvsroot/asterisk/channels/h323
In directory mongoose.digium.com:/tmp/cvs-serv3889/channels/h323

Modified Files:
	Makefile 
Log Message:
Fix H.323 build on ppc (bug #3353)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/h323/Makefile,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- Makefile	16 Dec 2004 02:03:19 -0000	1.21
+++ Makefile	15 Jan 2005 19:04:45 -0000	1.22
@@ -20,9 +20,12 @@
 # This needs to be updated to deal with more than just little endian machines
 #
 OSARCH=$(shell uname -s)
+PROC=$(shell uname -m)
 ifneq (${OSARCH},FreeBSD)
 ifneq (${OSARCH},NetBSD)
-CFLAGS += -march=$(shell uname -m)
+ifneq (${PROC},ppc)
+CFLAGS += -march=$(ARCH)
+endif
 endif
 endif
 CFLAGS += -DPBYTE_ORDER=PLITTLE_ENDIAN




More information about the svn-commits mailing list