Disable LTO.
This commit is contained in:
parent
da1db8dd54
commit
dea1d3a82f
@ -4,7 +4,7 @@
|
|||||||
Summary: Hybrid image/package system
|
Summary: Hybrid image/package system
|
||||||
Name: rpm-ostree
|
Name: rpm-ostree
|
||||||
Version: 2020.3
|
Version: 2020.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
#VCS: https://github.com/cgwalters/rpm-ostree
|
#VCS: https://github.com/cgwalters/rpm-ostree
|
||||||
# This tarball is generated via "cd packaging && make -f Makefile.dist-packaging dist-snapshot"
|
# 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.
|
# 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}
|
%autosetup -Sgit -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%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
|
env NOCONFIGURE=1 ./autogen.sh
|
||||||
%configure --disable-silent-rules --enable-gtk-doc
|
%configure --disable-silent-rules --enable-gtk-doc
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -189,6 +194,9 @@ $PYTHON autofiles.py > files.devel \
|
|||||||
|
|
||||||
%files devel -f files.devel
|
%files devel -f files.devel
|
||||||
%changelog
|
%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
|
* Wed Feb 05 2020 Jonathan Lebon <jonathan@jlebon.com> - 2020.3-1
|
||||||
- New upstream version
|
- New upstream version
|
||||||
https://github.com/coreos/rpm-ostree/releases/tag/v2020.3
|
https://github.com/coreos/rpm-ostree/releases/tag/v2020.3
|
||||||
|
Loading…
Reference in New Issue
Block a user