From: Kevin P. Fleming Date: Thu, 3 Jan 2008 23:01:53 +0000 (+0000) Subject: there was no reason to add this define for non-Solaris platforms X-Git-Tag: 1.6.0-beta1~3^2~192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed97a48feed27b3b41920738944246e2ce6048c1;p=thirdparty%2Fasterisk.git there was no reason to add this define for non-Solaris platforms git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96397 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index 9054244fb1..d6c4a5f4b7 100644 --- a/Makefile +++ b/Makefile @@ -101,7 +101,7 @@ endif # 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 @@ ifeq ($(OSARCH),OpenBSD) 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 .)