Disable LTO.

This commit is contained in:
Jeff Law 2020-06-30 13:47:55 -06:00
parent da1db8dd54
commit dea1d3a82f

View File

@ -4,7 +4,7 @@
Summary: Hybrid image/package system
Name: rpm-ostree
Version: 2020.3
Release: 1%{?dist}
Release: 2%{?dist}
#VCS: https://github.com/cgwalters/rpm-ostree
# This tarball is generated via "cd packaging && make -f Makefile.dist-packaging dist-snapshot"
# in the upstream git. If rust is enabled, it contains vendored sources.
@ -124,6 +124,11 @@ 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
%configure --disable-silent-rules --enable-gtk-doc
make %{?_smp_mflags}
@ -189,6 +194,9 @@ $PYTHON autofiles.py > files.devel \
%files devel -f files.devel
%changelog
* Tue Jun 30 2020 Jeff Law <aw@redhat.com> - 2020.3-2
Disable LTO
* Wed Feb 05 2020 Jonathan Lebon <jonathan@jlebon.com> - 2020.3-1
- New upstream version
https://github.com/coreos/rpm-ostree/releases/tag/v2020.3