Disable LTO

epel9
Jeff Law 5 years ago
parent 527609d856
commit 3481d9629b

@ -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: 22%{?dist} Release: 23%{?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
@ -57,6 +57,13 @@ autoconf
%configure %configure
%build %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}
%make_build %make_build
%install %install
@ -81,6 +88,9 @@ mv -f %{buildroot}%{_includedir}/%{name_alias}-%{version_main}/%{name_alias} %{b
%changelog %changelog
* Tue Jul 14 2020 Jeff Law <law@redhat.com> - 5.2.122-23
- Disable LTO
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-22 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save