From 43dd0fe942d0a3bc7304bdba1578b426026ca170 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sun, 31 Aug 2014 11:02:45 +0200 Subject: [PATCH] Enable unity build for RPM/Debian packages fixes #7041 --- debian/rules | 3 ++- icinga2.spec | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 4367c6d37..808ed99d5 100755 --- a/debian/rules +++ b/debian/rules @@ -27,7 +27,8 @@ override_dh_auto_configure: -DICINGA2_GROUP=nagios \ -DICINGA2_COMMAND_USER=nagios \ -DICINGA2_COMMAND_GROUP=www-data \ - -DICINGA2_PLUGINDIR=/usr/lib/nagios/plugins + -DICINGA2_PLUGINDIR=/usr/lib/nagios/plugins \ + -DICINGA2_UNITY_BUILD=TRUE override_dh_auto_install: dh_auto_install diff --git a/icinga2.spec b/icinga2.spec index 953b9e80e..a917657ea 100644 --- a/icinga2.spec +++ b/icinga2.spec @@ -203,7 +203,8 @@ CMAKE_OPTS="-DCMAKE_INSTALL_PREFIX=/usr \ -DICINGA2_USER=%{icinga_user} \ -DICINGA2_GROUP=%{icinga_group} \ -DICINGA2_COMMAND_USER=%{icinga_user} \ - -DICINGA2_COMMAND_GROUP=%{icingacmd_group}" + -DICINGA2_COMMAND_GROUP=%{icingacmd_group} \ + -DICINGA2_UNITY_BUILD=TRUE" %if "%{_vendor}" == "redhat" %if 0%{?el5} || 0%{?rhel} == 5 || "%{?dist}" == ".el5" # Boost_VERSION 1.41.0 vs 101400 - disable build tests -- 2.40.0