severity 857175 wishlist
thanks
Hi,
Looking further at this, I'm not sure this is actually RC.
It seems that the needed flags to compiled with SSE2 are not passed
properly to the build system in debian.
Version 2 of the patch attached
Regards,
Laurent Bigonville
diff -Nru pngquant-2.5.0/debian/rules pngquant-2.5.0/debian/rules
--- pngquant-2.5.0/debian/rules 2015-07-27 09:54:49.000000000 +0200
+++ pngquant-2.5.0/debian/rules 2017-03-08 16:06:58.000000000 +0100
@@ -1,6 +1,12 @@
#!/usr/bin/make -f
-SSEFLAG=$(shell if grep -q "^flags.*sse" /proc/cpuinfo ; then echo "--enable-sse" ; else echo "--disable-sse" ; fi)
+# disable sse2 except on amd64
+ifneq ($(DEB_HOST_ARCH_CPU),amd64)
+SSEFLAG := --disable-sse
+else
+SSEFLAG := --enable-sse
+CFLAGS += -DUSE_SSE=1 -msse
+endif
%:
dh $@