aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorEugene V. Lyubimkin <jackyf@debian.org>2011-11-26 15:58:33 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:30 +0200
commitc65eb8be811f59b55d64d9e7654c33708de79ad9 (patch)
treeee6e542b988263c49f0e1200d6aa5aa635667fe8 /debian/rules
parent38174fffd79f54a8be7642bf170a2320b29e8063 (diff)
parenteaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 (diff)
downloaddebian_htop-c65eb8be811f59b55d64d9e7654c33708de79ad9.tar.gz
debian_htop-c65eb8be811f59b55d64d9e7654c33708de79ad9.tar.bz2
debian_htop-c65eb8be811f59b55d64d9e7654c33708de79ad9.zip
Imported Debian patch 1.0-1debian/1.0-1
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 8 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 6c67a3b..473b41d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,13 @@ include /usr/share/quilt/quilt.make
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+ ARCH_DEPENDENT_CONFIGURE_PARAMS = --enable-native-affinity
+else
+ ARCH_DEPENDENT_CONFIGURE_PARAMS = --enable-hwloc
+endif
config.status: configure $(QUILT_STAMPFN)
dh_testdir
@@ -27,7 +34,7 @@ config.status: configure $(QUILT_STAMPFN)
--prefix=/usr --mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--enable-taskstats --enable-openvz --enable-vserver \
- --enable-cgroup
+ --enable-cgroup $(ARCH_DEPENDENT_CONFIGURE_PARAMS)
build: build-stamp
build-arch: build

© 2014-2024 Faster IT GmbH | imprint | privacy policy