Remove no-longer-needed special switches in CXXFLAGS

This commit is contained in:
Tom Lane 2011-01-20 16:54:14 -05:00 committed by Michal Schorm
parent 23dc9d6730
commit d6aa0db756

View File

@ -1,6 +1,6 @@
Name: mysql Name: mysql
Version: 5.5.8 Version: 5.5.8
Release: 5%{?dist} Release: 6%{?dist}
Summary: MySQL client programs and shared libraries Summary: MySQL client programs and shared libraries
Group: Applications/Databases Group: Applications/Databases
URL: http://www.mysql.com URL: http://www.mysql.com
@ -211,8 +211,7 @@ CFLAGS="$CFLAGS -fPIC"
%ifarch sparc sparcv9 sparc64 %ifarch sparc sparcv9 sparc64
CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O1|g" ` CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O1|g" `
%endif %endif
# extra C++ flags as per recommendations in mysql's INSTALL-SOURCE doc CXXFLAGS="$CFLAGS"
CXXFLAGS="$CFLAGS -felide-constructors -fno-rtti -fno-exceptions"
export CFLAGS CXXFLAGS export CFLAGS CXXFLAGS
# The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX # The INSTALL_xxx macros have to be specified relative to CMAKE_INSTALL_PREFIX
@ -600,6 +599,11 @@ fi
%{_mandir}/man1/mysql_client_test.1* %{_mandir}/man1/mysql_client_test.1*
%changelog %changelog
* Thu Jan 20 2011 Tom Lane <tgl@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@redhat.com> 5.5.8-5 * Thu Jan 13 2011 Tom Lane <tgl@redhat.com> 5.5.8-5
- Fix failure to honor MYSQL_HOME environment variable - Fix failure to honor MYSQL_HOME environment variable
Resolves: #669364 Resolves: #669364