[SCM] libm4ri: library of Method of the Four Russians Inversion branch, master, updated. fcd65d29a6b4b95c829eee9967a452f3ffe6828e
Cédric Boutillier
boutil at debian.org
Thu Mar 28 21:42:19 UTC 2013
The following commit has been merged in the master branch:
commit b31137d7e3599b71b059041d5dfb457bf64aa4eb
Author: Cédric Boutillier <boutil at debian.org>
Date: Thu Mar 28 08:02:52 2013 +0100
do not disable sse2 for x86_64 CPUs
diff --git a/debian/rules b/debian/rules
index 2e1927d..a2a1515 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,20 @@
#!/usr/bin/make -f
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
+
+DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
+
+ifneq ($(DEB_BUILD_ARCH_CPU),amd64)
+additional_confflags := --disable-sse2
+endif
+
+dpkg-architecture -iany-amd64 || EXTRAFLAGS:= --disable-sse2
%:
dh $@ --with autoreconf
override_dh_auto_configure:
- dh_auto_configure -- --disable-sse2 --enable-openmp
+ dh_auto_configure -- $(additional_confflags) --enable-openmp
override_dh_strip:
dh_strip --dbg-package=libm4ri-0.0.20130416-dbg
--
libm4ri: library of Method of the Four Russians Inversion
More information about the debian-science-commits
mailing list