[Asterisk-cvs] asterisk Makefile,1.114.2.7,1.114.2.8

russell at lists.digium.com russell at lists.digium.com
Wed Jul 13 13:58:46 CDT 2005


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

Modified Files:
      Tag: v1-0
	Makefile 
Log Message:
this is my cheap hack to fix the build problem on darwin since it now has
poll.h.  If anyone can think of a cleaner way to handle this, suggestions
are welcome


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.114.2.7
retrieving revision 1.114.2.8
diff -u -d -r1.114.2.7 -r1.114.2.8
--- Makefile	6 Jul 2005 22:30:44 -0000	1.114.2.7
+++ Makefile	13 Jul 2005 18:06:48 -0000	1.114.2.8
@@ -225,6 +225,8 @@
 CC=gcc
 INSTALL=install
 
+CFLAGS+=$(shell if uname -r|grep -q 8.2.0 ; then echo " -DOSX10_4 " ; fi)
+
 _all: all
 	@echo " +--------- Asterisk Build Complete ---------+"  
 	@echo " + Asterisk has successfully been built, but +"  




More information about the svn-commits mailing list