mirror of
https://git.icinga.com/packaging/rpm-icinga2.git
synced 2025-09-24 18:48:01 +02:00
Disable LTO on older SUSE versions
Mainly for SLES 12.3 and openSUSE 42.3 fixes Icinga/icinga2#7149
This commit is contained in:
parent
b3599f648a
commit
185fed6d60
@ -68,7 +68,14 @@
|
||||
%bcond_without unity_build
|
||||
%endif
|
||||
|
||||
# Disable lto_build for older SUSE versions
|
||||
# see https://github.com/Icinga/icinga2/issues/7149
|
||||
%if "%{_vendor}" == "suse" && 0%{?suse_version} <= 1315
|
||||
%bcond_with lto_build
|
||||
%else # suse_version 1315
|
||||
%bcond_without lto_build
|
||||
%endif # suse_version 1315
|
||||
|
||||
%bcond_with systemd_and_init
|
||||
%bcond_without compat
|
||||
%bcond_without livestatus
|
||||
|
Loading…
x
Reference in New Issue
Block a user