diff --git a/glusterfs.spec b/glusterfs.spec index f8f2ee2..c35fdb2 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -186,7 +186,7 @@ Summary: Distributed File System %if ( 0%{_for_fedora_koji_builds} ) Name: glusterfs Version: 8.0 -Release: 0.1%{?dev:%{dev}}%{?dist} +Release: 0.2%{?dev:%{dev}}%{?dist} %else Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ @@ -670,6 +670,13 @@ done %endif %build +# This package uses top level ASM constructs which are incompatible with LTO. +# Top level ASMs are often used to implement symbol versioning. gcc-10 +# introduces a new mechanism for symbol versioning which works with LTO. +# Converting packages to use that mechanism instead of toplevel ASMs is +# recommended. +# Disable LTO +%define _lto_cflags %{nil} sed -i -e 's/--quiet//' configure.ac ./autogen.sh && %configure \ @@ -1436,6 +1443,9 @@ exit 0 %{_unitdir}/gluster-ta-volume.service %changelog +* Wed Jul 1 2020 Jeff Law - 8.0-0.2rc0 +- Disable LTO + * Mon Jun 1 2020 Kaleb S. KEITHLEY - 8.0-0.1rc0 - 8.0 RC0