[asterisk-commits] kpfleming: trunk r96397 - /trunk/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 3 17:01:53 CST 2008


Author: kpfleming
Date: Thu Jan  3 17:01:53 2008
New Revision: 96397

URL: http://svn.digium.com/view/asterisk?view=rev&rev=96397
Log:
there was no reason to add this define for non-Solaris platforms

Modified:
    trunk/Makefile

Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?view=diff&rev=96397&r1=96396&r2=96397
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Thu Jan  3 17:01:53 2008
@@ -101,7 +101,7 @@
 
 # Some build systems, such as the one in openwrt, like to pass custom target
 # CFLAGS and LDFLAGS in the COPTS and LDOPTS variables.
-ASTCFLAGS+=$(COPTS) -D_XPG4_2
+ASTCFLAGS+=$(COPTS)
 ASTLDFLAGS+=$(LDOPTS)
 
 #Uncomment this to see all build commands instead of 'quiet' output
@@ -257,7 +257,7 @@
 endif
 
 ifeq ($(OSARCH),SunOS)
-  ASTCFLAGS+=-Wcast-align -DSOLARIS -I../include/solaris-compat -I/opt/ssl/include -I/usr/local/ssl/include
+  ASTCFLAGS+=-Wcast-align -DSOLARIS -I../include/solaris-compat -I/opt/ssl/include -I/usr/local/ssl/include -D_XPG4_2
 endif
 
 ASTERISKVERSION:=$(shell GREP=$(GREP) AWK=$(AWK) build_tools/make_version .)




More information about the asterisk-commits mailing list