Re-enable LTO
This commit is contained in:
parent
da892d14b7
commit
95876edf38
10
ostree.spec
10
ostree.spec
@ -8,7 +8,7 @@
|
|||||||
Summary: Tool for managing bootable, immutable filesystem trees
|
Summary: Tool for managing bootable, immutable filesystem trees
|
||||||
Name: ostree
|
Name: ostree
|
||||||
Version: 2021.2
|
Version: 2021.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Source0: https://github.com/ostreedev/%{name}/releases/download/v%{version}/libostree-%{version}.tar.xz
|
Source0: https://github.com/ostreedev/%{name}/releases/download/v%{version}/libostree-%{version}.tar.xz
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://ostree.readthedocs.io/en/latest/
|
URL: https://ostree.readthedocs.io/en/latest/
|
||||||
@ -93,11 +93,6 @@ the functionality of the installed %{name} package.
|
|||||||
%autosetup -Sgit -n libostree-%{version}
|
%autosetup -Sgit -n libostree-%{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 \
|
%configure --disable-silent-rules \
|
||||||
--enable-gtk-doc \
|
--enable-gtk-doc \
|
||||||
@ -168,6 +163,9 @@ find %{buildroot} -name '*.la' -delete
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 10 2021 Jeff Law <jlaw@tachyum.com> - 2021.2-3
|
||||||
|
- Re-enable LTO
|
||||||
|
|
||||||
* Thu Apr 15 2021 Colin Walters <walters@verbum.org> - 2021.2-2
|
* Thu Apr 15 2021 Colin Walters <walters@verbum.org> - 2021.2-2
|
||||||
- https://github.com/coreos/ostree/releases/tag/v2021.2
|
- https://github.com/coreos/ostree/releases/tag/v2021.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user