components/gcc49/Makefile
changeset 5210 f83eefca4ec2
parent 5205 eaff9ab86216
child 5224 388b8a6cf76b
equal deleted inserted replaced
5209:99599af34f26 5210:f83eefca4ec2
    45 # The GNU compiler wants the GNU utilities.
    45 # The GNU compiler wants the GNU utilities.
    46 PATH=/usr/gnu/bin:/usr/bin:/usr/perl5/bin
    46 PATH=/usr/gnu/bin:/usr/bin:/usr/perl5/bin
    47 
    47 
    48 PATCH_LEVEL := 0
    48 PATCH_LEVEL := 0
    49 ENABLE_CLOOG := 0
    49 ENABLE_CLOOG := 0
       
    50 
       
    51 ENABLE_CXA_ATEXIT=yes
       
    52 ifeq ($(OS_VERSION), 5.11)
       
    53   ENABLE_CXA_ATEXIT=no
       
    54 endif
    50 
    55 
    51 PARCH =         $(MACH:i386=i386-pc)
    56 PARCH =         $(MACH:i386=i386-pc)
    52 GNU_ARCH =      $(PARCH:sparc=sparc-sun)-solaris$(SOLARIS_VERSION)
    57 GNU_ARCH =      $(PARCH:sparc=sparc-sun)-solaris$(SOLARIS_VERSION)
    53 
    58 
    54 PKG_MACROS +=   GNU_ARCH="$(GNU_ARCH)"
    59 PKG_MACROS +=   GNU_ARCH="$(GNU_ARCH)"
   141 CONFIGURE_OPTIONS +=    --enable-initfini-array=yes
   146 CONFIGURE_OPTIONS +=    --enable-initfini-array=yes
   142 
   147 
   143 # VTable verification needs additional linker support.
   148 # VTable verification needs additional linker support.
   144 CONFIGURE_OPTIONS +=    --enable-vtable-verify=no
   149 CONFIGURE_OPTIONS +=    --enable-vtable-verify=no
   145 CONFIGURE_OPTIONS +=    --enable-comdat=yes
   150 CONFIGURE_OPTIONS +=    --enable-comdat=yes
   146 CONFIGURE_OPTIONS +=    --enable-__cxa_atexit=yes
   151 CONFIGURE_OPTIONS +=    --enable-__cxa_atexit=$(ENABLE_CXA_ATEXIT)
   147 
   152 
   148 # Although this is required by the C++11/C++14 standards,
   153 # Although this is required by the C++11/C++14 standards,
   149 # it appears broken in 4.9.3.
   154 # it appears broken in 4.9.3.
   150 CONFIGURE_OPTIONS +=    --enable-fully-dynamic-string=yes
   155 CONFIGURE_OPTIONS +=    --enable-fully-dynamic-string=yes
   151 CONFIGURE_OPTIONS +=    --enable-libstdcxx-debug=yes
   156 CONFIGURE_OPTIONS +=    --enable-libstdcxx-debug=yes
   209 COMPONENT_PRE_TEST_ACTION = ulimit -Ss 16384
   214 COMPONENT_PRE_TEST_ACTION = ulimit -Ss 16384
   210 COMPONENT_TEST_ARGS = -k -i
   215 COMPONENT_TEST_ARGS = -k -i
   211 COMPONENT_TEST_TARGETS = check check-target
   216 COMPONENT_TEST_TARGETS = check check-target
   212 
   217 
   213 COMPONENT_TEST_ENV += TCL_LIBRARY="/usr/lib/tcl8.5"
   218 COMPONENT_TEST_ENV += TCL_LIBRARY="/usr/lib/tcl8.5"
   214 COMPONENT_TEST_ENV += DEJAGNULIBS="/usr/share/dejagnu"
   219 
       
   220 # We don't have DejaGNU in S11.
       
   221 ifeq ($(OS_VERSION), 5.12)
       
   222   COMPONENT_TEST_ENV += DEJAGNULIBS="/usr/share/dejagnu"
       
   223 endif
   215 
   224 
   216 test:	$(TEST_32)
   225 test:	$(TEST_32)
   217 
   226 
   218 system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
   227 system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
   219 
   228