From 225d561423c0cf86eda306880af88b742c5f5987 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: May 02 2015 22:28:14 +0000 Subject: Disable gcc arch optimization By default, ImageMagick tries to optimize its build for the build host's CPU and passes -mcpu to the compiler. This cannot be used in Fedora since we need to support other CPUs as well, not just whatever happens to be used on the build host. This commit disables it by passing --without-gcc-arch to configure. https://bugzilla.redhat.com/show_bug.cgi?id=1213828 --- diff --git a/ImageMagick.spec b/ImageMagick.spec index aeb6fd9..d8ea512 100644 --- a/ImageMagick.spec +++ b/ImageMagick.spec @@ -3,7 +3,7 @@ Name: ImageMagick Version: %{VER}.%{Patchlevel} -Release: 1%{?dist} +Release: 2%{?dist} Summary: An X application for displaying and manipulating images Group: Applications/Multimedia License: ImageMagick @@ -160,6 +160,7 @@ cp -p Magick++/demo/*.cpp Magick++/demo/*.miff Magick++/examples --with-perl-options="INSTALLDIRS=vendor %{?perl_prefix} CC='%__cc -L$PWD/magick/.libs' LDDLFLAGS='-shared -L$PWD/magick/.libs'" \ --without-dps \ --without-included-ltdl --with-ltdl-include=%{_includedir} \ + --without-gcc-arch \ --with-ltdl-lib=%{_libdir} # Disable rpath @@ -319,6 +320,9 @@ rm -rf %{buildroot} %doc PerlMagick/demo/ PerlMagick/Changelog PerlMagick/README.txt %changelog +* Sat May 02 2015 Kalev Lember - 6.9.1.2-2 +- Disable gcc arch optimization (#1213828) + * Mon Apr 20 2015 Pavel Alexeev - 6.9.1.2-1 - New version 6.9.1-2 - bz#1204371.