From a448c5eaa533eb92bacf428bc8f4bd53c0f014c0 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 8 Jun 2006 18:11:47 +0000 Subject: [PATCH] Work around gcc bug #193912. --- mysql.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mysql.spec b/mysql.spec index 7c4a76d..bbf3d77 100644 --- a/mysql.spec +++ b/mysql.spec @@ -131,6 +131,10 @@ CFLAGS="$CFLAGS -fno-strict-aliasing -fwrapv" # -ECL 2002-12-19 CFLAGS="$CFLAGS -fPIC" %endif +# Temporary workaround for gcc bug (bz #193912) +%ifarch s390x +CFLAGS="$CFLAGS -mtune=z900" +%endif CXXFLAGS="$CFLAGS -fno-rtti -fno-exceptions" export CFLAGS CXXFLAGS @@ -410,8 +414,9 @@ fi %attr(-,mysql,mysql) %{_datadir}/mysql-test %changelog -* Thu Jun 1 2006 Tom Lane 5.0.22-1 +* Thu Jun 8 2006 Tom Lane 5.0.22-1 - 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 5.0.21-2 - Fix bogus perl Requires for mysql-test