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