From d01f73bd77052230fab25b5bee76553b349e1a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Hor=C3=A1k?= Date: Fri, 10 Jan 2014 09:51:00 +0100 Subject: [PATCH] Build with -O3 on ppc64 Related: #1051069 --- mariadb.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/mariadb.spec b/mariadb.spec index 96f8a8a..d647e73 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -7,7 +7,7 @@ Name: mariadb Version: 5.5.34 -Release: 6%{?dist} +Release: 7%{?dist} Epoch: 1 Summary: A community developed branch of MySQL @@ -304,6 +304,11 @@ CFLAGS="$CFLAGS -fPIC" %ifarch sparc sparcv9 sparc64 CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O1|g" ` %endif +# significant performance gains can be achieved by compiling with -O3 optimization +# rhbz#1051069 +%ifarch ppc64 +CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O3|g" ` +%endif CXXFLAGS="$CFLAGS" export CFLAGS CXXFLAGS # building with PIE @@ -796,6 +801,10 @@ fi %{_mandir}/man1/mysql_client_test.1* %changelog +* Fri Jan 10 2014 Honza Horak 1:5.5.34-7 +- Build with -O3 on ppc64 + Related: #1051069 + * Fri Jan 10 2014 Marcin Juszkiewicz 1:5.5.34-6 - Disable main.gis-precise test also for AArch64 - Disable perfschema.func_file_io and perfschema.func_mutex for AArch64