Enable LTO

This commit is contained in:
Tomas Popela 2022-02-04 11:10:23 +01:00 committed by Stepan Oksanichenko
parent a9783fa814
commit b10149ac74
2 changed files with 6 additions and 6 deletions

1
.clutter.metadata Normal file
View File

@ -0,0 +1 @@
34d24ef08b27798f00bb09afa54b7d49e0a0ef0e clutter-1.26.4.tar.xz

View File

@ -10,7 +10,7 @@
Name: clutter
Version: 1.26.4
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Open Source software library for creating rich graphical user interfaces
License: LGPLv2+
@ -89,11 +89,6 @@ the functionality of the installed clutter package.
%autosetup -p1
%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 \
--enable-xinput \
--enable-gdk-backend \
@ -145,6 +140,10 @@ find %{buildroot} -name '*.la' -delete
%endif
%changelog
* Fri Feb 04 2022 Tomas Popela <tpopela@redhat.com> - 1.26.4-7
- Enable LTO
Resolves: rhbz#1986479
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.26.4-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688