components/stdcxx/isa_patches/sparc/1034-sunpro.config.sparc.patch
branchs11u2-sru
changeset 4713 0abeb3fa670c
parent 402 94ae4d75524c
equal deleted inserted replaced
4712:4f9411c432fd 4713:0abeb3fa670c
     1 --- stdcxx-4.2.1/etc/config/sunpro.config	2008-04-24 20:25:50.000000000 -0400
     1 --- stdcxx-4.2.1/etc/config/sunpro.config	2008-04-24 17:25:50.000000000 -0700
     2 +++ stdcxx-4.2.1/etc/config/sunpro.config	2009-03-29 15:37:31.543081000 -0400
     2 +++ stdcxx-4.2.1/etc/config/sunpro.config	2015-06-18 07:36:06.891702109 -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,13 @@
    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) -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 -m32 -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 -xO4 -s +w2 -errtags -erroff=hidef
    17 +
       
    18 +
       
    19 +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 -m32 -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 -xO4 -s +w2 -errtags -erroff=hidef  -Qoption ccfe -abiopt=mangle6
       
    20 +
    18  CXXPRELINK      = 
    21  CXXPRELINK      = 
    19 -CPPFLAGS        =
    22 -CPPFLAGS        =
    20 -LDFLAGS         = -library=%none
    23 -LDFLAGS         = -library=%none
    21 +CPPFLAGS        = -I$(TOPDIR)/include/ansi -I$(TOPDIR)/include/tr1 -I$(TOPDIR)/include 
    24 +CPPFLAGS        = -I$(TOPDIR)/include/ansi -I$(TOPDIR)/include/tr1 -I$(TOPDIR)/include 
    22 +LDFLAGS         = -library=no%Cstd -library=Crun -m32 -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 -lpthread -lumem -lm -lc -z ignore
    25 +LDFLAGS         = -library=no%Cstd -library=Crun -m32 -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 -lpthread -lumem -lm -lc -z ignore
    23  LDSOFLAGS       = -G
    26  LDSOFLAGS       = -G
    24  
    27  
    25  # use CC to invoke the compiler (needed to pick up template
    28  # use CC to invoke the compiler (needed to pick up template
    26 @@ -77,7 +77,7 @@
    29 @@ -77,7 +80,7 @@
    27  DEBUG_CXXFLAGS  = -g
    30  DEBUG_CXXFLAGS  = -g
    28  DEBUG_CPPFLAGS  =
    31  DEBUG_CPPFLAGS  =
    29  
    32  
    30 -OPTMZ_CXXFLAGS  = -O
    33 -OPTMZ_CXXFLAGS  = -O
    31 +OPTMZ_CXXFLAGS  = -xO4
    34 +OPTMZ_CXXFLAGS  = -xO4
    32  OPTMZ_CPPFLAGS  =
    35  OPTMZ_CPPFLAGS  =
    33  
    36  
    34  # shared/static library options
    37  # shared/static library options
    35 @@ -124,7 +124,7 @@
       
    36  ifeq ($(shell expr $(CCMAJOR) \>= 5 \& $(CCMINOR) \>= 9),1)
       
    37  
       
    38      # starting with Sun C++ 5.9, the compiler prefers the generic
       
    39 -    # -m32 and -m64 options to the architecture specific -xarch
       
    40 +    # -m32 and -m64 options to the architecture specific -xarch
       
    41      # options some of which have been deprecated
       
    42      wide_flags   = -m64
       
    43      narrow_flags = -m32