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
6d80e958
Commit
6d80e958
authored
Jul 15, 2020
by
Noah Hilverling
Browse files
Merge branch 'bugfix/lto' into 'master'
Disable LTO also for RHEL 7 See merge request
packaging/rpm-icinga2!4
parents
5087d8ad
b9620011
Changes
1
Hide whitespace changes
Inline
Side-by-side
icinga2.spec
View file @
6d80e958
...
...
@@ -68,9 +68,10 @@
%bcond_without unity_build
%endif
# Disable lto_build for older
SUSE
versions
# Disable lto_build for older
compiler
versions
# see https://github.com/Icinga/icinga2/issues/7149
%if "%{_vendor}" == "suse" && 0%{?suse_version} <= 1315
# 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")
%bcond_with lto_build
%else # suse_version 1315
%bcond_without lto_build
...
...
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