From 2dd6b8247d543250bc10a09b5f6b31df9690ea33 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 17 May 2022 20:14:21 -0600 Subject: [PATCH] Disable LTO on x86_64 due to memory issues --- libfabric.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libfabric.spec b/libfabric.spec index 93ed5f9..68eaf4e 100644 --- a/libfabric.spec +++ b/libfabric.spec @@ -1,5 +1,10 @@ %global __remake_config 0 +# LTO is running out of memory when building on x86_64 +%ifarch x86_64 +%global _lto_cflags %{nil} +%endif + Name: libfabric Version: 1.15.1 Release: 1%{?dist} @@ -96,6 +101,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %changelog * Mon May 16 2022 Orion Poplawski - 1.15.1-1 - Update to 1.15.1 +- Disable LTO on x86_64 due to memory issues * Thu Jan 20 2022 Fedora Release Engineering - 1.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild