]> granicus.if.org Git - icinga2/commitdiff
Enable unity build for RPM/Debian packages
authorGunnar Beutner <gunnar.beutner@netways.de>
Sun, 31 Aug 2014 09:02:45 +0000 (11:02 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Sun, 31 Aug 2014 09:02:45 +0000 (11:02 +0200)
fixes #7041

debian/rules
icinga2.spec

index 4367c6d37d9bad0150c7fcbce1f3e10959ebb4c1..808ed99d51d8e7c1877cf7c83568cb825a3f79d4 100755 (executable)
@@ -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
index 953b9e80e74f1bc62d3ce46cc820cf39a48621b1..a917657ea95de8e974b33bd82258cc0039620370 100644 (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