mirror of
https://git.icinga.com/packaging/rpm-icinga2.git
synced 2025-09-25 19:09:35 +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
|
||||
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_UNITY_BUILD=OFF"
|
||||
%endif
|
||||
%if %{with lto_build}
|
||||
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_LTO_BUILD=ON"
|
||||
%else
|
||||
|
||||
# Disable LTO build, see https://github.com/Icinga/icinga2/issues/7149
|
||||
# lto1: internal compiler error: in prune_unused_types_prune, at dwarf2out.c
|
||||
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_LTO_BUILD=OFF"
|
||||
%endif
|
||||
|
||||
%if %{with systemd_and_init}
|
||||
CMAKE_OPTS="$CMAKE_OPTS -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=ON"
|
||||
%else
|
||||
|
Loading…
x
Reference in New Issue
Block a user