mirror of
https://git.icinga.com/packaging/rpm-icinga2.git
synced 2025-09-25 19:09:35 +02:00
Disable LTO on SLES v12.5
This commit is contained in:
parent
9d687557a8
commit
23594f43f1
@ -71,7 +71,7 @@
|
|||||||
# Disable lto_build for older compiler versions
|
# Disable lto_build for older compiler versions
|
||||||
# see https://github.com/Icinga/icinga2/issues/7149
|
# see https://github.com/Icinga/icinga2/issues/7149
|
||||||
# lto1: internal compiler error: in prune_unused_types_prune, at dwarf2out.c
|
# 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")
|
%if "%{_vendor}" == "suse" && 0%{?suse_version} < 1315 || "%{_vendor}" == "redhat" && (0%{?el7} || 0%{?rhel} == 7 || "%{?dist}" == ".el7")
|
||||||
%bcond_with lto_build
|
%bcond_with lto_build
|
||||||
%else # suse_version 1315
|
%else # suse_version 1315
|
||||||
%bcond_without lto_build
|
%bcond_without lto_build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user