Disable LTO.
This commit is contained in:
parent
8edaaf8791
commit
ee98012f22
10
ostree.spec
10
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 <law@redhat.com> - 2020.3-6
|
||||
Disable LTO
|
||||
|
||||
* Thu Jun 18 2020 Jonathan Lebon <jonathan@jlebon.com> - 2020.3-5
|
||||
- Backport patch to handle EOPNOTSUPP on NFS:
|
||||
https://gitlab.gnome.org/GNOME/libglnx/-/merge_requests/18
|
||||
|
Loading…
Reference in New Issue
Block a user