Re-enable LTO

This commit is contained in:
Jeff Law 2020-08-20 22:01:12 -06:00
parent 1d384aa8fb
commit 683c99b0e4
1 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,6 @@
Name: glib2
Version: 2.65.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A library of handy utility functions
License: LGPLv2+
@ -85,10 +85,6 @@ the functionality of the installed glib2 package.
%autosetup -n glib-%{version} -p1
%build
# This package has static probes which do not work with LTO
# Disable LTO
%define _lto_cflags %{nil}
# Bug 1324770: Also explicitly remove PCRE sources since we use --with-pcre=system
rm glib/pcre/*.[ch]
%meson \
@ -221,6 +217,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/installed-tests
%changelog
* Thu Aug 20 2020 Jeff Law <law@redhat.com> - 2.65.2-2
- Re-enable LTO
* Tue Aug 18 2020 Kalev Lember <klember@redhat.com> - 2.65.2-1
- Update to 2.65.2