[Pkg-nagios-changes] [pkg-icinga2] 02/04: Disable unity builds for mips and mipsel
Alexander Wirt
formorer at debian.org
Sun Sep 11 18:33:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
formorer pushed a commit to branch master
in repository pkg-icinga2.
commit 33face7e371c8f5aeca5fbdc613acc70fcd2ace0
Author: Alexander Wirt <formorer at debian.org>
Date: Fri Sep 9 08:58:11 2016 +0200
Disable unity builds for mips and mipsel
---
debian/rules | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/debian/rules b/debian/rules
index 6a01c10..8ff3012 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,10 +4,21 @@
DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
+# disable unity builds for arches with low memory
ifneq ($(findstring $(DEB_HOST_ARCH), armhf),)
UNITY_BUILD = -DICINGA2_UNITY_BUILD=Off
endif
+ifneq ($(findstring $(DEB_HOST_ARCH), mips),)
+ UNITY_BUILD = -DICINGA2_UNITY_BUILD=Off
+endif
+
+ifneq ($(findstring $(DEB_HOST_ARCH), mipsel),)
+ UNITY_BUILD = -DICINGA2_UNITY_BUILD=Off
+endif
+
+
+
%:
dh $@ --with systemd --with bash_completion
--
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