Skip to content
Snippets Groups Projects
Commit 71fc9a4a authored by Alexander A. Klimov's avatar Alexander A. Klimov :sunglasses: Committed by Julian Brost
Browse files

Disable LTO build

parent 10a02392
No related branches found
No related tags found
No related merge requests found
Pipeline #18170 failed
...@@ -371,11 +371,11 @@ CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_UNITY_BUILD=ON" ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment