[Pkg-nagios-changes] [pkg-icinga2] 01/04: Disable unity builds for arm
Alexander Wirt
formorer at debian.org
Sun Sep 11 18:34:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
formorer pushed a commit to branch debmon-wheezy
in repository pkg-icinga2.
commit 014226b337110456e61e8f0d040cf65dda610077
Author: Alexander Wirt <formorer at debian.org>
Date: Wed Sep 7 07:58:56 2016 +0200
Disable unity builds for arm
---
debian/rules | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index d01b205..4687a16 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,12 @@
#export DH_VERBOSE=1
+DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifneq ($(findstring $(DEB_HOST_ARCH), armhf),)
+ UNITY_BUILD = -DICINGA2_UNITY_BUILD=Off
+endif
+
%:
dh $@ --with bash_completion
@@ -28,7 +34,8 @@ override_dh_auto_configure:
-DICINGA2_COMMAND_GROUP=www-data \
-DICINGA2_GIT_VERSION_INFO=false \
-DICINGA2_PLUGINDIR=/usr/lib/nagios/plugins \
- -DICINGA2_WITH_STUDIO=true
+ -DICINGA2_WITH_STUDIO=true \
+ $(UNITY_BUILD)
override_dh_auto_install:
dh_auto_install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icinga2.git
More information about the Pkg-nagios-changes
mailing list