kalev pushed to ImageMagick (master). "Disable gcc arch optimization (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Sat May 2 23:36:06 UTC 2015
>From 225d561423c0cf86eda306880af88b742c5f5987 Mon Sep 17 00:00:00 2001
From: Kalev Lember <kalevlember at gmail.com>
Date: Sun, 3 May 2015 00:25:17 +0200
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 <kalevlember at gmail.com> - 6.9.1.2-2
+- Disable gcc arch optimization (#1213828)
+
* Mon Apr 20 2015 Pavel Alexeev <Pahan at Hubbitus.info> - 6.9.1.2-1
- New version 6.9.1-2 - bz#1204371.
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/ImageMagick.git/commit/?h=master&id=225d561423c0cf86eda306880af88b742c5f5987
More information about the scm-commits
mailing list