From b778818a121d2b129788eebda390b59edf7eda8e Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 30 Jun 2020 13:51:50 -0600 Subject: [PATCH] Disable LTO. --- flatpak.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/flatpak.spec b/flatpak.spec index 6ae0a9d..02a757e 100644 --- a/flatpak.spec +++ b/flatpak.spec @@ -3,7 +3,7 @@ Name: flatpak Version: 1.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Application deployment framework for desktop apps License: LGPLv2+ @@ -127,6 +127,11 @@ This package contains installed tests for %{name}. %build +# gobject introspection does not work with LTO. There is an effort to fix this +# in the appropriate project upstreams, so hopefully LTO can be enabled someday +# Disable LTO. +%define _lto_cflags %{nil} + (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi; # Generate consistent IDs between runs to avoid multilib problems. export XMLTO_FLAGS="--stringparam generate.consistent.ids=1" @@ -261,6 +266,9 @@ fi %changelog +* Tue Jun 30 2020 Jeff Law - 1.8.0-2 +Disable LTO + * Wed Jun 24 2020 David King - 1.8.0-1 - Update to 1.8.0 (#1850676)