Commit 185fed6d authored by Markus Frosch's avatar Markus Frosch
Browse files

Disable LTO on older SUSE versions

Mainly for SLES 12.3 and openSUSE 42.3

fixes Icinga/icinga2#7149
parent b3599f64
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment