From 67b6fd5b67306589322a241195c0e379e55a59a2 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 9 May 2021 23:52:34 -0600 Subject: [PATCH] Re-enable LTO --- rpm-ostree.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/rpm-ostree.spec b/rpm-ostree.spec index f9d501c..677c556 100644 --- a/rpm-ostree.spec +++ b/rpm-ostree.spec @@ -4,7 +4,7 @@ Summary: Hybrid image/package system Name: rpm-ostree Version: 2021.4 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ URL: https://github.com/coreos/rpm-ostree # This tarball is generated via "cd packaging && make -f Makefile.dist-packaging dist-snapshot" @@ -137,11 +137,6 @@ The %{name}-devel package includes the header files for %{name}-libs. %autosetup -Sgit -n %{name}-%{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 # Since we're hybrid C++/Rust we need to propagate this manually; # the %%configure macro today assumes (reasonably) that one is building @@ -212,6 +207,9 @@ $PYTHON autofiles.py > files.devel \ %files devel -f files.devel %changelog +* Sun May 09 2021 Jeff Law - 2021.4-4 +- Re-enable LTO + * Wed Apr 28 2021 Colin Walters - 2021.4-3 - Backport another patch for https://pagure.io/fedora-infrastructure/issue/9909