Skip to content
Snippets Groups Projects
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
Branches jbrost/8373
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment