From 1e06578e6f774e7ca90df4da1546b3822d57297a Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 1 Jul 2020 12:30:37 -0600 Subject: [PATCH] Disable LTO --- fuse3.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/fuse3.spec b/fuse3.spec index 5730b46..00e58a6 100644 --- a/fuse3.spec +++ b/fuse3.spec @@ -1,6 +1,6 @@ Name: fuse3 Version: 3.9.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: File System in Userspace (FUSE) v3 utilities License: GPL+ URL: http://fuse.sf.net @@ -67,6 +67,14 @@ Common files for FUSE v2 and FUSE v3. %setup -n libfuse-fuse-%{version} %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} + export LC_ALL=en_US.UTF-8 %if ! 0%{?_vpath_srcdir:1} %global _vpath_srcdir . @@ -154,6 +162,9 @@ rm -f %{buildroot}/usr/lib/udev/rules.d/99-fuse3.rules %endif %changelog +* Wed Jul 1 2020 Jeff Law - 3.9.2-2 +- Disable LTO + * Thu Jun 18 2020 Tom Callaway - 3.9.2-1 - update to 3.9.2