Modified to let Solaris take advantage of autoconf's CFLAGS & DEFS. AUTOCONF_1_0
authorcls%seawood.org
Tue, 11 Aug 1998 02:32:27 +0000
branchAUTOCONF_1_0
changeset 207 7e7d1f90d71850ca45606abf2c98c9a973a14b9c
parent 203 cf4b5bcd9c0657dbcdce9be66d31e1df7cb10fe5
child 208 de043a46c0e153fe389609509c18baf1bbcdb68b
push idunknown
push userunknown
push dateunknown
Modified to let Solaris take advantage of autoconf's CFLAGS & DEFS.
config/SunOS5.mk
--- a/config/SunOS5.mk
+++ b/config/SunOS5.mk
@@ -116,17 +116,21 @@ ifeq (5.5,$(findstring 5.5,$(OS_RELEASE)
 OS_DEFINES		+= -DSOLARIS2_5
 endif
 
 ifneq ($(LOCAL_THREADS_ONLY),1)
 OS_DEFINES		+= -D_REENTRANT
 endif
 
 # Purify doesn't like -MDupdate
+ifdef USE_AUTOCONF
+NOMD_OS_CFLAGS		= $(DSO_CFLAGS) #-DSOLARIS
+else
 NOMD_OS_CFLAGS		= $(DSO_CFLAGS) $(OS_DEFINES) $(SOL_CFLAGS)
+endif
 
 MKSHLIB			= $(LD) $(DSO_LDOPTS)
 
 # ld options:
 # -G: produce a shared object
 # -z defs: no unresolved symbols allowed
 DSO_LDOPTS		= -G