[mysql] Remove no-longer-needed special switches in CXXFLAGS

Tom Lane tgl at fedoraproject.org
Thu Jan 20 21:55:05 UTC 2011


commit 4b6d839faff55cdc13357f268d03b5832ba5e241
Author: Tom Lane <tgl at redhat.com>
Date:   Thu Jan 20 16:54:14 2011 -0500

    Remove no-longer-needed special switches in CXXFLAGS

 mysql.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/mysql.spec b/mysql.spec
index 223a797..4f5a8f6 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -1,6 +1,6 @@
 Name: mysql
 Version: 5.5.8
-Release: 5%{?dist}
+Release: 6%{?dist}
 Summary: MySQL client programs and shared libraries
 Group: Applications/Databases
 URL: http://www.mysql.com
@@ -211,8 +211,7 @@ CFLAGS="$CFLAGS -fPIC"
 %ifarch sparc sparcv9 sparc64
 CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O1|g" `
 %endif
-# extra C++ flags as per recommendations in mysql's INSTALL-SOURCE doc
-CXXFLAGS="$CFLAGS -felide-constructors -fno-rtti -fno-exceptions"
+CXXFLAGS="$CFLAGS"
 export CFLAGS CXXFLAGS
 
 # The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
@@ -600,6 +599,11 @@ fi
 %{_mandir}/man1/mysql_client_test.1*
 
 %changelog
+* Thu Jan 20 2011 Tom Lane <tgl at redhat.com> 5.5.8-6
+- Remove no-longer-needed special switches in CXXFLAGS, per yesterday's
+  discussion in fedora-devel about -fexceptions.
+- Rebuild needed anyway to check compatibility with latest systemtap.
+
 * Thu Jan 13 2011 Tom Lane <tgl at redhat.com> 5.5.8-5
 - Fix failure to honor MYSQL_HOME environment variable
 Resolves: #669364


More information about the scm-commits mailing list