Disable SSE on i386, to workaround building on i386 , https://github.com/pornel/pngquant/issues/122

epel9
Sérgio Basto 11 years ago
parent f2a3527ad4
commit 83e69d99b7

@ -2,7 +2,7 @@
Name: pngquant Name: pngquant
Version: 2.3.0 Version: 2.3.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: PNG quantization tool for reducing image file size Summary: PNG quantization tool for reducing image file size
%{?el5:Group: Applications/Multimedia} %{?el5:Group: Applications/Multimedia}
@ -63,7 +63,10 @@ rm lib/configure
%build %build
%configure || : %configure || :
# export compiler-flags properly # export compiler-flags properly
./configure --prefix=/usr ./configure --prefix=/usr \
%ifarch %{ix86}
--disable-sse \
%endif
make %{?_smp_mflags} PREFIX=%{_prefix} make %{?_smp_mflags} PREFIX=%{_prefix}
@ -116,6 +119,10 @@ install -pm 0644 %{name}.1 \
%changelog %changelog
* Sat Sep 27 2014 Sérgio Basto <sergio@serjux.com> - 2.3.0-2
- Disable SSE on i386, to workaround building on i386 ,
https://github.com/pornel/pngquant/issues/122
* Sat Sep 27 2014 Sérgio Basto <sergio@serjux.com> - 2.3.0-1 * Sat Sep 27 2014 Sérgio Basto <sergio@serjux.com> - 2.3.0-1
- New upstream version 2.3.0 - New upstream version 2.3.0

Loading…
Cancel
Save