[med-svn] [libpll] 02/03: Fix build issues (Thanks to James Cowgill)
Andreas Tille
tille at debian.org
Tue May 16 14:52:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository libpll.
commit 973a8a0fa018d78634e543baa21b1ea25dc9c998
Author: Andreas Tille <tille at debian.org>
Date: Tue May 16 15:00:30 2017 +0200
Fix build issues (Thanks to James Cowgill)
---
debian/compat | 2 +-
debian/rules | 11 +++++------
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/rules b/debian/rules
index 4e7a315..8838b13 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,19 +2,18 @@
# DH_VERBOSE := 1
+include /usr/share/dpkg/architecture.mk
+
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
override_dh_auto_configure:
- ./autogen.sh
-ifeq ($(DEB_BUILD_ARCH),i386)
- ./autogen.sh --disable-avx --disable-sse
- dh_auto_configure -- --disable-avx --disable-sse
+ifneq ($(filter $(DEB_HOST_ARCH_CPU), amd64 i386),)
+ dh_auto_configure
else
- ./autogen.sh --disable-avx
- dh_auto_configure -- --disable-avx
+ dh_auto_configure -- --disable-sse --disable-avx --disable-avx2
endif
override_dh_install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libpll.git
More information about the debian-med-commit
mailing list