Skip to content
Snippets Groups Projects
Commit 3583b30d authored by Alexander A. Klimov's avatar Alexander A. Klimov :sunglasses:
Browse files

Disable LTO on SLES v12.5

parent 5236bdec
No related branches found
No related tags found
1 merge request!19Disable LTO on SLES v12.5
......@@ -71,7 +71,7 @@
# Disable lto_build for older compiler versions
# 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")
%if "%{_vendor}" == "suse" && 0%{?suse_version} < 1315 || "%{_vendor}" == "redhat" && (0%{?el7} || 0%{?rhel} == 7 || "%{?dist}" == ".el7")
%bcond_with lto_build
%else # suse_version 1315
%bcond_without lto_build
......
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