From a1ea78b51a07021d47014cb0fe783709ab67526c Mon Sep 17 00:00:00 2001 From: Graham Inggs Date: Thu, 14 Apr 2016 07:28:03 +0200 Subject: Fix build on GNU/kFreeBSD and GNU/HURD --- debian/rules | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 56feb13..196c15d 100755 --- a/debian/rules +++ b/debian/rules @@ -4,14 +4,20 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk +ifeq (linux,$(DEB_HOST_ARCH_OS)) + ARCH_DEPENDENT_CONFIGURE_PARAMS = --enable-linux-affinity +else + ARCH_DEPENDENT_CONFIGURE_PARAMS = --enable-hwloc +endif + %: dh $@ --with autoreconf override_dh_auto_configure: dh_auto_configure -- \ - --enable-linux-affinity \ --enable-taskstats \ --enable-openvz \ --enable-vserver \ --enable-cgroup \ - --enable-unicode + --enable-unicode \ + $(ARCH_DEPENDENT_CONFIGURE_PARAMS) -- cgit v1.2.3