mirror of
https://git.icinga.com/packaging/rpm-icinga2.git
synced 2025-09-26 03:19:23 +02:00
Disable LTO build
This commit is contained in:
parent
10a02392a1
commit
71fc9a4ada
@ -371,11 +371,11 @@ CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_UNITY_BUILD=ON"
|
|||||||
%else
|
%else
|
||||||
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_UNITY_BUILD=OFF"
|
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_UNITY_BUILD=OFF"
|
||||||
%endif
|
%endif
|
||||||
%if %{with lto_build}
|
|
||||||
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_LTO_BUILD=ON"
|
# Disable LTO build, see https://github.com/Icinga/icinga2/issues/7149
|
||||||
%else
|
# lto1: internal compiler error: in prune_unused_types_prune, at dwarf2out.c
|
||||||
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_LTO_BUILD=OFF"
|
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_LTO_BUILD=OFF"
|
||||||
%endif
|
|
||||||
%if %{with systemd_and_init}
|
%if %{with systemd_and_init}
|
||||||
CMAKE_OPTS="$CMAKE_OPTS -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=ON"
|
CMAKE_OPTS="$CMAKE_OPTS -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=ON"
|
||||||
%else
|
%else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user