Disabling LTO for now

Got many "Too many open files" without this change.

Resolves: rhbz#2118567
This commit is contained in:
Konrad Kleine 2022-12-05 18:02:46 +01:00
parent 5ba5f031e1
commit f3b6520152
1 changed files with 8 additions and 5 deletions

View File

@ -77,7 +77,7 @@
Name: %{pkg_name}
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: The Low Level Virtual Machine
License: NCSA
@ -259,12 +259,12 @@ mv %{cmake_srcdir} cmake
%build
%ifarch s390 s390x
#ifarch s390 s390x
# Fails with "exceeded PCRE's backtracking limit"
%global _lto_cflags %nil
%else
%global _lto_cflags -flto=thin
%endif
#else
#global _lto_cflags -flto=thin
#endif
%ifarch s390 s390x %{arm} %ix86
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
@ -632,6 +632,9 @@ fi
%endif
%changelog
* Mon Dec 05 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.6-2
- Disabling LTO for now
* Mon Dec 05 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.6-1
- Update to 15.0.6