93N/A--- stdcxx-4.2.1-32/etc/config/sunpro.config 2008-04-24 17:25:50.000000000 -0700
93N/A+++ stdcxx-4.2.1-32/etc/config/sunpro.config 2015-03-12 12:16:55.906589902 -0700
93N/A@@ -26,7 +26,7 @@
93N/A #
93N/A ########################################################################
93N/A
93N/A-CXX = CC
93N/A+SHELL = /bin/bash
93N/A
93N/A # extract the "C++ m.n" substring from version string (whcih changes
93N/A # from one release of the compiler to another)
93N/A@@ -59,10 +59,16 @@
93N/A
93N/A PICFLAGS = -KPIC
93N/A LDSOFLAGS =
93N/A-CXXFLAGS = -library=%none
93N/A+
93N/A+ifeq ($(shell expr $(CCMAJOR) = 5 \& $(CCMINOR) \> 12),1)
93N/A+ CXXFLAGS = -library=no%Cstd -library=Crun -features=except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs,extdef -xlang=c99 $(XREGS) $(XMEMALIGN) -xlibmieee -xbuiltin=%none -norunpath -xinline= -Qoption ccfe +d2,-xgeninl=system -Qoption ccfe -expand=10000 -Qoption ccfe ++boolflag:sunwcch=false -mt -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -D_XPG5 -D_RWSTD_NO_REPLACEABLE_NEW_DELETE -D_RWSTD_NO_EXT_OPERATOR_NEW -D_IN_BUILD_STDCXX -m32 -xarch=generic -xO3 -s +w2 -errtags -erroff=hidef -Qoption ccfe -abiopt=mangle6
93N/A+else
93N/A+ CXXFLAGS = -library=no%Cstd -library=Crun -features=except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs,extdef -xlang=c99 $(XREGS) $(XMEMALIGN) -xlibmieee -xbuiltin=%none -norunpath -xinline= -Qoption ccfe +d2,-xgeninl=system -Qoption ccfe -expand=10000 -Qoption ccfe ++boolflag:sunwcch=false -mt -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -D_XPG5 -D_RWSTD_NO_REPLACEABLE_NEW_DELETE -D_RWSTD_NO_EXT_OPERATOR_NEW -D_IN_BUILD_STDCXX -m32 -xarch=generic -xO3 -s +w2 -errtags -erroff=hidef -Qoption ccfe -abiopt=mangle6
93N/A+endif
5491N/A+
93N/A CXXPRELINK =
5680N/A-CPPFLAGS =
93N/A-LDFLAGS = -library=%none
3817N/A+CPPFLAGS = -I$(BUILDDIR)/include/ansi -I$(BUILDDIR)/include/tr1 -I$(BUILDDIR)/include -I$(TOPDIR)/include/ansi -I$(TOPDIR)/include/tr1 -I$(TOPDIR)/include
93N/A+LDFLAGS = -library=no%Cstd -library=Crun -m32 -xarch=generic -lpthread -lumem -lm -lc -z ignore
93N/A LDSOFLAGS = -G
5491N/A
618N/A # use CC to invoke the compiler (needed to pick up template
5491N/A@@ -77,7 +83,7 @@
844N/A DEBUG_CXXFLAGS = -g
5491N/A DEBUG_CPPFLAGS =
2289N/A
93N/A-OPTMZ_CXXFLAGS = -O
5491N/A+OPTMZ_CXXFLAGS = -xO3
3271N/A OPTMZ_CPPFLAGS =
5680N/A
5680N/A # shared/static library options
5680N/A