sergiomb pushed to pngquant (epel7). "Disable SSE on i386, to workaround building on i386 , https://github.com/pornel/pngquant/issues/122"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun Apr 19 15:22:03 UTC 2015


>From 83e69d99b7c0061df2c0e82ee58b0be29ac5cd19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9rgio=20Basto?= <sergio at serjux.com>
Date: Sat, 27 Sep 2014 16:08:15 +0100
Subject: Disable SSE on i386, to workaround building on i386 ,
 https://github.com/pornel/pngquant/issues/122


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 <sergio at 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 at serjux.com> - 2.3.0-1
 - New upstream version 2.3.0
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/pngquant.git/commit/?h=epel7&id=83e69d99b7c0061df2c0e82ee58b0be29ac5cd19


More information about the scm-commits mailing list