[SCM] libm4ri: library of Method of the Four Russians Inversion branch, master, updated. 6cec7d83d4b775d723bdda04bd6e0b30e932cdcf

Cédric Boutillier boutil at debian.org
Mon Apr 1 22:50:36 UTC 2013


The following commit has been merged in the master branch:
commit 6cec7d83d4b775d723bdda04bd6e0b30e932cdcf
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Apr 2 00:19:20 2013 +0200

    use DEB_HOST_ARCH_CPU instead of DEB_BUILD_ARCH_CPU

diff --git a/debian/changelog b/debian/changelog
index 1753e7f..c64bb40 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libm4ri (20130416-2) experimental; urgency=low
+
+  * debian/rules: use DEB_HOST_ARCH_CPU instead of DEB_BUILD_ARCH_CPU
+    in test for activation of SSE2 instructions.
+
+ -- Cédric Boutillier <boutil at debian.org>  Tue, 02 Apr 2013 00:16:41 +0200
+
 libm4ri (20130416-1) experimental; urgency=low
 
   * New upstream version 
diff --git a/debian/rules b/debian/rules
index a2a1515..2c87b70 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,14 +2,12 @@
 
 DPKG_EXPORT_BUILDFLAGS = 1
 
-DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
+DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
 
-ifneq ($(DEB_BUILD_ARCH_CPU),amd64)
+ifneq ($(DEB_HOST_ARCH_CPU),amd64)
 additional_confflags := --disable-sse2
 endif
 
-dpkg-architecture -iany-amd64 || EXTRAFLAGS:= --disable-sse2
-
 %:
 	dh $@ --with autoreconf
 

-- 
libm4ri: library of Method of the Four Russians Inversion



More information about the debian-science-commits mailing list