From 3481d9629b9d168e250b48fec83c56e8ed5276b6 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Jul 14 2020 19:27:16 +0000 Subject: Disable LTO --- diff --git a/openpgm.spec b/openpgm.spec index 5517d7e..8593ccf 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: 22%{?dist} +Release: 23%{?dist} Summary: An implementation of the PGM reliable multicast protocol # The license is LGPLv2.1 @@ -57,6 +57,13 @@ autoconf %configure %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 %install @@ -81,6 +88,9 @@ mv -f %{buildroot}%{_includedir}/%{name_alias}-%{version_main}/%{name_alias} %{b %changelog +* Tue Jul 14 2020 Jeff Law - 5.2.122-23 +- Disable LTO + * Wed Jan 29 2020 Fedora Release Engineering - 5.2.122-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild