From 83e69d99b7c0061df2c0e82ee58b0be29ac5cd19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Basto?= Date: Sat, 27 Sep 2014 16:08:15 +0100 Subject: [PATCH] Disable SSE on i386, to workaround building on i386 , https://github.com/pornel/pngquant/issues/122 --- pngquant.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pngquant.spec b/pngquant.spec index 841bfdf..27594bc 100644 --- a/pngquant.spec +++ b/pngquant.spec @@ -2,7 +2,7 @@ Name: pngquant Version: 2.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: PNG quantization tool for reducing image file size %{?el5:Group: Applications/Multimedia} @@ -63,7 +63,10 @@ rm lib/configure %build %configure || : # export compiler-flags properly -./configure --prefix=/usr +./configure --prefix=/usr \ +%ifarch %{ix86} + --disable-sse \ +%endif make %{?_smp_mflags} PREFIX=%{_prefix} @@ -116,6 +119,10 @@ install -pm 0644 %{name}.1 \ %changelog +* Sat Sep 27 2014 Sérgio Basto - 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 - 2.3.0-1 - New upstream version 2.3.0