Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rpm-icinga2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
packaging
rpm-icinga2
Commits
fbfde40b
Commit
fbfde40b
authored
3 years ago
by
Noah Hilverling
Browse files
Options
Downloads
Plain Diff
Merge branch 'lto' into 'master'
Disable LTO build See merge request
!22
parents
cb5ecb3f
b7eb8d01
Branches
sles-15.3-master
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!22
Disable LTO build
Pipeline
#19545
passed
3 years ago
Stage: build
Stage: test
Changes
1
Pipelines
46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
icinga2.spec
+1
-6
1 addition, 6 deletions
icinga2.spec
with
1 addition
and
6 deletions
icinga2.spec
+
1
−
6
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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment