From 9a804d72e6e0859ec63619243d87541b66145150 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Sat, 15 Dec 2018 08:02:31 +0100 Subject: [PATCH] Remove ppc64 optimization which is no longer necessary --- mariadb.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mariadb.spec b/mariadb.spec index 6798061..239335f 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -755,10 +755,6 @@ rm -r storage/tokudb/mysql-test/tokudb/t/*.py CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" # force PIC mode so that we can build libmysqld.so CFLAGS="$CFLAGS -fPIC" -# 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 # Override all optimization flags when making a debug build %{?with_debug: CFLAGS="$CFLAGS -O0 -g"}