[SCM] libsbsms/master: Disable SSE on all architectures except on amd64.

bdrung at users.alioth.debian.org bdrung at users.alioth.debian.org
Sat Oct 15 12:00:31 UTC 2011


The following commit has been merged in the master branch:
commit d85da016eb080ca27aca9574f0ddfb47d25f5cb8
Author: Benjamin Drung <bdrung at debian.org>
Date:   Sat Oct 15 13:59:31 2011 +0200

    Disable SSE on all architectures except on amd64.
    
    Closes: #645245

diff --git a/debian/rules b/debian/rules
index 4cbcce1..f8cfaf4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,13 @@
 #!/usr/bin/make -f
 
+DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+
+ifneq ($(DEB_HOST_ARCH_CPU),amd64)
+additional_confflags := --disable-sse
+endif
+
 %:
 	dh $@ --with autoreconf
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-shared
+	dh_auto_configure -- --enable-shared $(additional_confflags)

-- 
libsbsms packaging



More information about the pkg-multimedia-commits mailing list