Re-enable LTO

epel9
Jeff Law 5 years ago
parent 638be45216
commit f1f5e31eb6

@ -4,7 +4,7 @@ Version: 5.2.122
%global version_main 5.2 %global version_main 5.2
%global version_dash_main 5-2 %global version_dash_main 5-2
%global version_dash %{version_dash_main}-122 %global version_dash %{version_dash_main}-122
Release: 24%{?dist} Release: 25%{?dist}
Summary: An implementation of the PGM reliable multicast protocol Summary: An implementation of the PGM reliable multicast protocol
# The license is LGPLv2.1 # The license is LGPLv2.1
@ -59,10 +59,12 @@ autoconf
%build %build
# This package has a configure test which uses ASMs, but does not link the # 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 # 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, # architectures were the ASM is not valid when compiling with LTO.
# or alternately we could consider using -ffat-lto-objects, though we #
# generally recommend against that. For now, disable LTO. # -ffat-lto-objects is sufficient to address this issue. It is the default
%define _lto_cflags %{nil} # 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 %make_build
@ -88,6 +90,9 @@ mv -f %{buildroot}%{_includedir}/%{name_alias}-%{version_main}/%{name_alias} %{b
%changelog %changelog
* Fri Aug 21 2020 Jeff Law <law@redhat.com> - 5.2.122-25
- Re-enable LTO
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-24 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

Loading…
Cancel
Save