Re-enable LTO

This commit is contained in:
Jeff Law 2021-05-10 00:23:59 -06:00
parent 028bbe6216
commit 772885be7b

View File

@ -8,7 +8,7 @@
Name: clutter Name: clutter
Version: 1.26.4 Version: 1.26.4
Release: 5%{?dist} Release: 6%{?dist}
Summary: Open Source software library for creating rich graphical user interfaces Summary: Open Source software library for creating rich graphical user interfaces
License: LGPLv2+ License: LGPLv2+
@ -87,11 +87,6 @@ the functionality of the installed clutter package.
%autosetup -p1 %autosetup -p1
%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}
%configure \ %configure \
--enable-xinput \ --enable-xinput \
--enable-gdk-backend \ --enable-gdk-backend \
@ -141,6 +136,9 @@ find %{buildroot} -name '*.la' -delete
%endif %endif
%changelog %changelog
* Sun May 09 2021 Jeff Law <jlaw@tachyum.com> - 1.26.4-6
- Re-enable LTO
* Tue Apr 13 2021 Kalev Lember <klember@redhat.com> - 1.26.4-5 * Tue Apr 13 2021 Kalev Lember <klember@redhat.com> - 1.26.4-5
- Recommend rather than require mesa-dri-drivers - Recommend rather than require mesa-dri-drivers
- Avoid hard requiring gobject-introspection - Avoid hard requiring gobject-introspection
@ -152,7 +150,7 @@ find %{buildroot} -name '*.la' -delete
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 30 2020 Jeff Law <law@redhat.com> - 1.26.4-2 * Tue Jun 30 2020 Jeff Law <law@redhat.com> - 1.26.4-2
Disable LTO - Disable LTO
* Mon Mar 09 2020 Kalev Lember <klember@redhat.com> - 1.26.4-1 * Mon Mar 09 2020 Kalev Lember <klember@redhat.com> - 1.26.4-1
- Update to 1.26.4 - Update to 1.26.4