diff --git a/gmp.spec b/gmp.spec index 42024d7..a9bcba4 100644 --- a/gmp.spec +++ b/gmp.spec @@ -6,7 +6,7 @@ Summary: A GNU arbitrary precision library Name: gmp Version: 6.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 1 URL: http://gmplib.org/ Source0: ftp://ftp.gmplib.org/pub/gmp-%{version}/gmp-%{version}.tar.bz2 @@ -83,8 +83,8 @@ if as --help | grep -q execstack; then fi %ifarch %{ix86} - export CFLAGS=$(echo %{optflags} | sed -e "s/-mtune=[^ ]*//g" | sed -e "s/-march=[^ ]*//g")"-march=i686" - export CXXFLAGS=$(echo %{optflags} | sed -e "s/-mtune=[^ ]*//g" | sed -e "s/-march=[^ ]*//g")"-march=i686" + export CFLAGS=$(echo %{optflags} | sed -e "s/-mtune=[^ ]*//g" | sed -e "s/-march=[^ ]*/-march=i686/g") + export CXXFLAGS=$(echo %{optflags} | sed -e "s/-mtune=[^ ]*//g" | sed -e "s/-march=[^ ]*/-march=i686/g") %endif %configure --enable-cxx @@ -180,6 +180,9 @@ exit 0 %{_libdir}/libgmpxx.a %changelog +* Mon Mar 13 2017 David Kaspar [Dee'Kej] - 1:6.1.2-4 +- Fix the build process for ix89 family + * Fri Feb 17 2017 David Kaspar [Dee'Kej] - 1:6.1.2-3 - Build process updated to correctly build .debug_info for i386 and to correctly use hardening flags