[DevIL] Don't use SSE3 (x86_64) or any SSE (ix86), so that the lib will run
Hans de Goede
jwrdegoede at fedoraproject.org
Wed May 16 14:30:16 UTC 2012
commit e749ed120fdcc761192714f2e31a21f7050192c5
Author: Hans de Goede <hdegoede at redhat.com>
Date: Wed May 16 16:30:13 2012 +0200
Don't use SSE3 (x86_64) or any SSE (ix86), so that the lib will run
on processors lacking SSE(3) (rhbz#815629)
DevIL.spec | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/DevIL.spec b/DevIL.spec
index 254a14a..577c513 100644
--- a/DevIL.spec
+++ b/DevIL.spec
@@ -1,6 +1,6 @@
Name: DevIL
Version: 1.7.8
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: A cross-platform image library
Group: System Environment/Libraries
License: LGPLv2
@@ -76,7 +76,14 @@ sed -i 's|png12|png15|g' configure
%build
-%configure --enable-ILU --enable-ILUT --disable-static --disable-allegrotest
+%ifarch x86_64
+DISABLE_SSE="--disable-sse3"
+%endif
+%ifarch %{ix86}
+DISABLE_SSE="--disable-sse --disable-sse2 --disable-sse3"
+%endif
+%configure --enable-ILU --enable-ILUT --disable-static --disable-allegrotest \
+ $DISABLE_SSE
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|LD_RUN_PATH|DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
@@ -134,6 +141,10 @@ fi
%changelog
+* Wed May 16 2012 Hans de Goede <hdegoede at redhat.com> - 1.7.8-9
+- Don't use SSE3 (x86_64) or any SSE (ix86), so that the lib will run
+ on processors lacking SSE(3) (rhbz#815629)
+
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list