Work around gcc bug #193912.

This commit is contained in:
Tom Lane 2006-06-08 18:11:47 +00:00 committed by Michal Schorm
parent f7ee09dfd6
commit a448c5eaa5

View File

@ -131,6 +131,10 @@ CFLAGS="$CFLAGS -fno-strict-aliasing -fwrapv"
# -ECL 2002-12-19 # -ECL 2002-12-19
CFLAGS="$CFLAGS -fPIC" CFLAGS="$CFLAGS -fPIC"
%endif %endif
# Temporary workaround for gcc bug (bz #193912)
%ifarch s390x
CFLAGS="$CFLAGS -mtune=z900"
%endif
CXXFLAGS="$CFLAGS -fno-rtti -fno-exceptions" CXXFLAGS="$CFLAGS -fno-rtti -fno-exceptions"
export CFLAGS CXXFLAGS export CFLAGS CXXFLAGS
@ -410,8 +414,9 @@ fi
%attr(-,mysql,mysql) %{_datadir}/mysql-test %attr(-,mysql,mysql) %{_datadir}/mysql-test
%changelog %changelog
* Thu Jun 1 2006 Tom Lane <tgl@redhat.com> 5.0.22-1 * Thu Jun 8 2006 Tom Lane <tgl@redhat.com> 5.0.22-1
- Update to MySQL 5.0.22 (fixes CVE-2006-2753) - Update to MySQL 5.0.22 (fixes CVE-2006-2753)
- Install temporary workaround for gcc bug on s390x (bz #193912)
* Tue May 2 2006 Tom Lane <tgl@redhat.com> 5.0.21-2 * Tue May 2 2006 Tom Lane <tgl@redhat.com> 5.0.21-2
- Fix bogus perl Requires for mysql-test - Fix bogus perl Requires for mysql-test