[Pkg-nagios-changes] [pkg-icinga2] 03/04: Disable unity builds for arm

Alexander Wirt formorer at debian.org
Wed Sep 7 13:26:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

formorer pushed a commit to branch debmon-jessie
in repository pkg-icinga2.

commit 5b5f888453b79b428c6f393e29b6ad07bec190ba
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 3981fbb..6a01c10 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 systemd --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