summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-28 15:32:04 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-28 15:32:04 +0200
commitc613f7b5211f8bf3e45dd4eba3d5aa41e08ec6c9 (patch)
tree154045c80eeff30cf4eee9616dc312c2755c62ab
parentc4f6ea71f38005e2575a43543e88833561cb59cf (diff)
gd: test build
-rw-r--r--gd.spec14
1 files changed, 8 insertions, 6 deletions
diff --git a/gd.spec b/gd.spec
index f7ef9c9..5b98bbe 100644
--- a/gd.spec
+++ b/gd.spec
@@ -25,7 +25,7 @@ Name: gd
Name: gd-last
%endif
Version: 2.2.2
-Release: 1%{?prever}%{?short}%{?dist}
+Release: 1%{?prever}%{?short}%{?dist}.1
Group: System Environment/Libraries
License: MIT
URL: http://libgd.github.io/
@@ -148,6 +148,10 @@ CFLAGS="$RPM_OPT_FLAGS -DDEFAULT_FONTPATH='\"\
%if 0%{?rhel} == 5
CFLAGS="$CFLAGS -fno-strict-aliasing"
%endif
+%ifarch %{ix86}
+# see https://github.com/libgd/libgd/issues/242
+CFLAGS="$CFLAGS -msse -mfpmath=sse"
+%endif
%configure \
--with-tiff=%{_prefix} \
@@ -167,11 +171,6 @@ export XFAIL_TESTS="freetype/bug00132"
%endif
%if 0%{?rhel} > 0 && 0%{?rhel} <= 5
export XFAIL_TESTS="gdimagestringft/gdimagestringft_bbox $XFAIL_TESTS"
-%else
-%ifarch %{ix86}
-# see https://github.com/libgd/libgd/issues/242
-export XFAIL_TESTS="gdimagerotate/bug00067 $XFAIL_TESTS"
-%endif
%endif
: Upstream test suite
@@ -207,6 +206,9 @@ grep %{version} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gdlib.pc
%changelog
+* Tue Jun 28 2016 Remi Collet <remi@fedoraproject.org> - 2.2.2-1.1
+- use -msse -mfpmath=sse build options (x86-32)
+
* Fri Jun 24 2016 Remi Collet <remi@fedoraproject.org> - 2.2.2-1
- Update to 2.2.2