From f1f5e31eb6ea98c61c4af3192b1ee0248c03c0e7 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Aug 21 2020 22:53:44 +0000 Subject: Re-enable LTO --- diff --git a/openpgm.spec b/openpgm.spec index d61115c..a42408b 100644 --- a/openpgm.spec +++ b/openpgm.spec @@ -4,7 +4,7 @@ Version: 5.2.122 %global version_main 5.2 %global version_dash_main 5-2 %global version_dash %{version_dash_main}-122 -Release: 24%{?dist} +Release: 25%{?dist} Summary: An implementation of the PGM reliable multicast protocol # The license is LGPLv2.1 @@ -59,10 +59,12 @@ autoconf %build # This package has a configure test which uses ASMs, but does not link the # resultant .o files. As such the ASM test is always successful, even on -# architectures were the ASM is not valid. The test should be fixed, -# or alternately we could consider using -ffat-lto-objects, though we -# generally recommend against that. For now, disable LTO. -%define _lto_cflags %{nil} +# architectures were the ASM is not valid when compiling with LTO. +# +# -ffat-lto-objects is sufficient to address this issue. It is the default +# for F33, but is expected to only be enabled for packages that need it in +# F34, so we use it here explicitly +%define _lto_cflags -flto=auto -ffat-lto-objects %make_build @@ -88,6 +90,9 @@ mv -f %{buildroot}%{_includedir}/%{name_alias}-%{version_main}/%{name_alias} %{b %changelog +* Fri Aug 21 2020 Jeff Law - 5.2.122-25 +- Re-enable LTO + * Tue Jul 28 2020 Fedora Release Engineering - 5.2.122-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild