summaryrefslogtreecommitdiff
path: root/textproc/xmlwrapp/files/patch-tools::cxxflags
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xmlwrapp/files/patch-tools::cxxflags')
-rw-r--r--textproc/xmlwrapp/files/patch-tools::cxxflags20
1 files changed, 20 insertions, 0 deletions
diff --git a/textproc/xmlwrapp/files/patch-tools::cxxflags b/textproc/xmlwrapp/files/patch-tools::cxxflags
new file mode 100644
index 000000000000..a729520901ea
--- /dev/null
+++ b/textproc/xmlwrapp/files/patch-tools::cxxflags
@@ -0,0 +1,20 @@
+--- tools/cxxflags.orig Wed Jan 8 06:26:51 2003
++++ tools/cxxflags Tue May 13 05:50:41 2003
+@@ -240,7 +240,7 @@
+
+ $flags{'debug'} = "-g";
+ $flags{'depend'} = '-M';
+- $flags{'optimize'} = '-O2';
++ $flags{'optimize'} = '';
+ $flags{'ar'} = $ENV{'AR'} || 'ar';
+ $flags{'arflags'} = $ENV{'ARFLAGS'} || 'rc';
+ $flags{'sar'} = $clo{'cxx'};
+@@ -353,7 +353,7 @@
+ $flags{'debug'} = "-g";
+ $flags{'depend'} = '-xM';
+ $flags{'pic'} = '-Kpic';
+- $flags{'optimize'} = '-s -xlibmil -xlibmopt -xO2';
++ $flags{'optimize'} = '-s -xlibmil -xlibmopt';
+ $flags{'ar'} = $clo{'cxx'};
+ $flags{'arflags'} = '-xar -o';
+ $flags{'sar'} = $clo{'cxx'};