Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
packaging
Icinga 2 Security Releases 2.12.5 and 2.11.10
rpm-icinga2
Commits
fbfde40b
Commit
fbfde40b
authored
May 21, 2021
by
Noah Hilverling
Browse files
Merge branch 'lto' into 'master'
Disable LTO build See merge request
packaging/rpm-icinga2!22
parents
cb5ecb3f
b7eb8d01
Pipeline
#22450
passed with stages
in 55 minutes and 57 seconds
Changes
1
Pipelines
7
Hide whitespace changes
Inline
Side-by-side
icinga2.spec
View file @
fbfde40b
...
...
@@ -364,14 +364,9 @@ CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_UNITY_BUILD=ON"
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_UNITY_BUILD=OFF"
%endif
# Disable LTO build for older compiler versions
# see https://github.com/Icinga/icinga2/issues/7149
# Disable LTO build, see https://github.com/Icinga/icinga2/issues/7149
# lto1: internal compiler error: in prune_unused_types_prune, at dwarf2out.c
%if "%{_vendor}" == "suse" && 0%{?suse_version} < 1315 || "%{_vendor}" == "redhat" && (0%{?el7} || 0%{?rhel} == 7 || "%{?dist}" == ".el7")
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_LTO_BUILD=ON"
%else # suse_version 1315
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_LTO_BUILD=OFF"
%endif # suse_version 1315
%if %{with systemd_and_init}
CMAKE_OPTS="$CMAKE_OPTS -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=ON"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment