[SCM] libdvbcsa/master: Enable optimizations on AMD64.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed Apr 4 09:51:37 UTC 2012


The following commit has been merged in the master branch:
commit 987a2b202c421492ea5282cd78c0d5c9791fe4c6
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed Apr 4 11:46:35 2012 +0200

    Enable optimizations on AMD64.

diff --git a/debian/rules b/debian/rules
index bf9b9cb..68bfa9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,13 @@
 #!/usr/bin/make -f
 
+DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifeq ($(DEB_HOST_ARCH),amd64)
+EXTRA_CONFIGURE_ARGS += --enable-mmx --enable-sse2
+endif
+
 %:
 	dh $@ --parallel --with autoreconf
+
+override_dh_auto_configure:
+	dh_auto_configure -- $(EXTRA_CONFIGURE_ARGS)

-- 
libdvbcsa packaging



More information about the pkg-multimedia-commits mailing list