3955N/A--- stdcxx-4.2.1/etc/config/sunpro.config 2008-04-24 17:25:50.000000000 -0700
3955N/A+++ stdcxx-4.2.1/etc/config/sunpro.config 2015-03-12 15:40:09.742450740 -0700
402N/A@@ -26,7 +26,7 @@
402N/A #
402N/A ########################################################################
402N/A
402N/A-CXX = CC
402N/A+SHELL = /bin/bash
402N/A
402N/A # extract the "C++ m.n" substring from version string (whcih changes
402N/A # from one release of the compiler to another)
3955N/A@@ -59,10 +59,16 @@
402N/A
402N/A PICFLAGS = -KPIC
402N/A LDSOFLAGS =
402N/A-CXXFLAGS = -library=%none
3955N/A+
3955N/A+ifeq ($(shell expr $(CCMAJOR) = 5 \& $(CCMINOR) \> 12),1)
4496N/A+ CXXFLAGS = -library=no%Cstd -library=Crun -features=except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs,extdef -xlang=c99 $(XREGS) -xvis=yes $(XMEMALIGN) -xlibmieee -xbuiltin=%none -xinline= -norunpath -Qoption ccfe +d2,-xgeninl=system -Qoption ccfe -expand=10000 -Qoption ccfe ++boolflag:sunwcch=false -Qoption iropt -xwrap_int -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 -m64 -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 -xO4 -s +w2 -errtags -erroff=hidef -Qoption ccfe -abiopt=mangle6
3955N/A+else
4496N/A+ CXXFLAGS = -library=no%Cstd -library=Crun -features=except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs,extdef -xlang=c99 $(XREGS) -xvis=yes $(XMEMALIGN) -xlibmieee -xbuiltin=%none -xinline= -norunpath -Qoption ccfe +d2,-xgeninl=system -Qoption ccfe -expand=10000 -Qoption ccfe ++boolflag:sunwcch=false -Qoption iropt -xwrap_int -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 -m64 -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 -xO4 -s +w2 -errtags -erroff=hidef -Qoption ccfe -abiopt=mangle6
3955N/A+endif
3955N/A+
402N/A CXXPRELINK =
402N/A-CPPFLAGS =
402N/A-LDFLAGS = -library=%none
402N/A+CPPFLAGS = -I$(TOPDIR)/include/ansi -I$(TOPDIR)/include/tr1 -I$(TOPDIR)/include
402N/A+LDFLAGS = -library=no%Cstd -library=Crun -m64 -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 -lpthread -lumem -lm -lc -z ignore
402N/A LDSOFLAGS = -G
402N/A
402N/A # use CC to invoke the compiler (needed to pick up template
3955N/A@@ -77,7 +83,7 @@
402N/A DEBUG_CXXFLAGS = -g
402N/A DEBUG_CPPFLAGS =
402N/A
402N/A-OPTMZ_CXXFLAGS = -O
402N/A+OPTMZ_CXXFLAGS = -xO4
402N/A OPTMZ_CPPFLAGS =
402N/A
402N/A # shared/static library options