components/stdcxx/isa_patches/i386/1034-sunpro.config.i386.patch
changeset 3955 4e310c8109a5
parent 402 94ae4d75524c
child 4498 ce7fc2376fb0
equal deleted inserted replaced
3953:7a1f9588575b 3955:4e310c8109a5
     1 --- stdcxx-4.2.1/etc/config/sunpro.config	2008-04-24 20:25:50.000000000 -0400
     1 --- stdcxx-4.2.1-32/etc/config/sunpro.config	2008-04-24 17:25:50.000000000 -0700
     2 +++ stdcxx-4.2.1/etc/config/sunpro.config	2009-03-30 11:17:58.959880000 -0400
     2 +++ stdcxx-4.2.1-32/etc/config/sunpro.config	2015-03-12 12:16:55.906589902 -0700
     3 @@ -26,7 +26,7 @@
     3 @@ -26,7 +26,7 @@
     4  #
     4  #
     5  ########################################################################
     5  ########################################################################
     6  
     6  
     7 -CXX             = CC
     7 -CXX             = CC
     8 +SHELL = /bin/bash
     8 +SHELL = /bin/bash
     9  
     9  
    10  # extract the "C++ m.n" substring from version string (whcih changes
    10  # extract the "C++ m.n" substring from version string (whcih changes
    11  # from one release of the compiler to another)
    11  # from one release of the compiler to another)
    12 @@ -59,10 +59,10 @@
    12 @@ -59,10 +59,16 @@
    13  
    13  
    14  PICFLAGS        = -KPIC
    14  PICFLAGS        = -KPIC
    15  LDSOFLAGS       = 
    15  LDSOFLAGS       = 
    16 -CXXFLAGS        = -library=%none
    16 -CXXFLAGS        = -library=%none
    17 +CXXFLAGS        = -library=no%Cstd -library=Crun -features=except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs -verbose=template -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
    17 +
       
    18 +ifeq ($(shell expr $(CCMAJOR) = 5 \& $(CCMINOR) \> 12),1)
       
    19 +  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
       
    20 +else
       
    21 +  CXXFLAGS        = -library=no%Cstd -library=Crun -features=except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs -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
       
    22 +endif
       
    23 +
    18  CXXPRELINK      = 
    24  CXXPRELINK      = 
    19 -CPPFLAGS        =
    25 -CPPFLAGS        =
    20 -LDFLAGS         = -library=%none
    26 -LDFLAGS         = -library=%none
    21 +CPPFLAGS        =  -I$(BUILDDIR)/include/ansi -I$(BUILDDIR)/include/tr1 -I$(BUILDDIR)/include -I$(TOPDIR)/include/ansi -I$(TOPDIR)/include/tr1 -I$(TOPDIR)/include 
    27 +CPPFLAGS        =  -I$(BUILDDIR)/include/ansi -I$(BUILDDIR)/include/tr1 -I$(BUILDDIR)/include -I$(TOPDIR)/include/ansi -I$(TOPDIR)/include/tr1 -I$(TOPDIR)/include 
    22 +LDFLAGS         = -library=no%Cstd -library=Crun -m32 -xarch=generic -lpthread -lumem -lm -lc -z ignore
    28 +LDFLAGS         = -library=no%Cstd -library=Crun -m32 -xarch=generic -lpthread -lumem -lm -lc -z ignore
    23  LDSOFLAGS       = -G
    29  LDSOFLAGS       = -G
    24  
    30  
    25  # use CC to invoke the compiler (needed to pick up template
    31  # use CC to invoke the compiler (needed to pick up template
    26 @@ -77,7 +77,7 @@
    32 @@ -77,7 +83,7 @@
    27  DEBUG_CXXFLAGS  = -g
    33  DEBUG_CXXFLAGS  = -g
    28  DEBUG_CPPFLAGS  =
    34  DEBUG_CPPFLAGS  =
    29  
    35  
    30 -OPTMZ_CXXFLAGS  = -O
    36 -OPTMZ_CXXFLAGS  = -O
    31 +OPTMZ_CXXFLAGS  = -xO3
    37 +OPTMZ_CXXFLAGS  = -xO3