mirror of
https://github.com/Icinga/docker-icinga2.git
synced 2025-11-09 19:31:35 +01:00
Disable LTO
* Image size: +1.3% * Build time: -31.8% * Build time w/ ccache: -94.1%
This commit is contained in:
parent
2a75df72d0
commit
b1918423e0
@ -79,7 +79,7 @@ RUN mkdir /icinga2-build
|
||||
WORKDIR /icinga2-build
|
||||
|
||||
RUN PATH="/usr/lib/ccache:$PATH" cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc \
|
||||
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DICINGA2_RUNDIR=/run -DICINGA2_LTO_BUILD=ON \
|
||||
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DICINGA2_RUNDIR=/run \
|
||||
-DICINGA2_SYSCONFIGFILE=/etc/sysconfig/icinga2 -DICINGA2_WITH_{COMPAT,LIVESTATUS}=OFF /icinga2-src
|
||||
|
||||
RUN --mount=type=cache,target=/root/.ccache make
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user