Enable unity build for RPM/Debian packages

fixes #7041
This commit is contained in:
Gunnar Beutner 2014-08-31 11:02:45 +02:00
parent 6ba0612644
commit 43dd0fe942
2 changed files with 4 additions and 2 deletions

3
debian/rules vendored
View File

@ -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

View File

@ -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