Build with -O3 on ppc64

Related: #1051069
This commit is contained in:
Honza Horák 2014-01-10 09:51:00 +01:00
parent 2980890d18
commit d01f73bd77

View File

@ -7,7 +7,7 @@
Name: mariadb Name: mariadb
Version: 5.5.34 Version: 5.5.34
Release: 6%{?dist} Release: 7%{?dist}
Epoch: 1 Epoch: 1
Summary: A community developed branch of MySQL Summary: A community developed branch of MySQL
@ -304,6 +304,11 @@ 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
# 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" CXXFLAGS="$CFLAGS"
export CFLAGS CXXFLAGS export CFLAGS CXXFLAGS
# building with PIE # building with PIE
@ -796,6 +801,10 @@ fi
%{_mandir}/man1/mysql_client_test.1* %{_mandir}/man1/mysql_client_test.1*
%changelog %changelog
* Fri Jan 10 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-7
- Build with -O3 on ppc64
Related: #1051069
* Fri Jan 10 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 1:5.5.34-6 * Fri Jan 10 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 1:5.5.34-6
- Disable main.gis-precise test also for AArch64 - Disable main.gis-precise test also for AArch64
- Disable perfschema.func_file_io and perfschema.func_mutex for AArch64 - Disable perfschema.func_file_io and perfschema.func_mutex for AArch64