From ee98012f220279a5d9920b2d7d966e83a628d58f Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 30 Jun 2020 13:53:09 -0600 Subject: [PATCH] Disable LTO. --- ostree.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ostree.spec b/ostree.spec index 9bce04c..7e393e3 100644 --- a/ostree.spec +++ b/ostree.spec @@ -8,7 +8,7 @@ Summary: Tool for managing bootable, immutable filesystem trees Name: ostree Version: 2020.3 -Release: 5%{?dist} +Release: 6%{?dist} Source0: https://github.com/ostreedev/%{name}/releases/download/v%{version}/libostree-%{version}.tar.xz License: LGPLv2+ URL: https://ostree.readthedocs.io/en/latest/ @@ -98,6 +98,11 @@ the functionality of the installed %{name} package. %autosetup -Sgit -n libostree-%{version} %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} + env NOCONFIGURE=1 ./autogen.sh %configure --disable-silent-rules \ --enable-gtk-doc \ @@ -168,6 +173,9 @@ find %{buildroot} -name '*.la' -delete %endif %changelog +* Tue Jun 30 2020 Jeff Law - 2020.3-6 +Disable LTO + * Thu Jun 18 2020 Jonathan Lebon - 2020.3-5 - Backport patch to handle EOPNOTSUPP on NFS: https://gitlab.gnome.org/GNOME/libglnx/-/merge_requests/18