patches/stdcxx-01-config.diff
changeset 1123 8312bda73b1a
parent 454 bc4b3fe73497
--- a/patches/stdcxx-01-config.diff	Wed May 14 13:50:07 2008 +0000
+++ b/patches/stdcxx-01-config.diff	Wed May 14 13:58:48 2008 +0000
@@ -1,6 +1,19 @@
---- stdcxx-4.1.3/etc/config/sunpro.config.orig	2007-09-05 14:02:09.168881693 +0700
-+++ stdcxx-4.1.3/etc/config/sunpro.config	2007-09-05 14:05:36.354066280 +0700
-@@ -29,7 +29,7 @@
+diff -Nru stdcxx-4.2.1/etc/config/gcc.config stdcxx-4.2.1-patched/etc/config/gcc.config
+--- stdcxx-4.2.1/etc/config/gcc.config	2008-04-24 18:25:50.000000000 -0600
++++ stdcxx-4.2.1-patched/etc/config/gcc.config	2008-05-14 04:04:50.416944000 -0600
+@@ -202,7 +202,7 @@
+ DEBUG_CXXFLAGS  = -g
+ DEBUG_CPPFLAGS  =
+ 
+-OPTMZ_CXXFLAGS  = -O2
++OPTMZ_CXXFLAGS  = -O3
+ OPTMZ_CPPFLAGS  =
+ 
+ # shared/static library options
+diff -Nru stdcxx-4.2.1/etc/config/sunpro.config stdcxx-4.2.1-patched/etc/config/sunpro.config
+--- stdcxx-4.2.1/etc/config/sunpro.config	2008-04-24 18:25:50.000000000 -0600
++++ stdcxx-4.2.1-patched/etc/config/sunpro.config	2008-05-14 04:04:50.414009000 -0600
+@@ -77,7 +77,7 @@
  DEBUG_CXXFLAGS  = -g
  DEBUG_CPPFLAGS  =
  
@@ -9,34 +22,3 @@
  OPTMZ_CPPFLAGS  =
  
  # shared/static library options
-@@ -74,7 +74,7 @@
- SINGL_LDFLAGS  =
- 
- # wide (64-bit flags)
--WIDE_CXXFLAGS  = -xarch=v9
--WIDE_LDFLAGS   = -xarch=v9
--WIDE_LDSOFLAGS = -xarch=v9
-+WIDE_CXXFLAGS  = -m64
-+WIDE_LDFLAGS   = -m64
-+WIDE_LDSOFLAGS = -m64
- WIDE_ARFLAGS   =
---- stdcxx-4.1.3/etc/config/gcc.config.orig	2007-09-05 14:09:10.683804830 +0700
-+++ stdcxx-4.1.3/etc/config/gcc.config	2007-09-05 14:08:40.565487451 +0700
-@@ -64,7 +64,7 @@
-   endif
- endif
- 
--LDSOFLAGS       = -shared
-+LDSOFLAGS       = -Wl,-G
- 
- ifneq ($(CXX_MAJOR),2)
- LDSOFLAGS      += -lsupc++
-@@ -122,7 +122,7 @@
- DEBUG_CXXFLAGS  = -g
- DEBUG_CPPFLAGS  =
- 
--OPTMZ_CXXFLAGS  = -O2
-+OPTMZ_CXXFLAGS  = -O3
- OPTMZ_CPPFLAGS  =
- 
- # shared/static library options