diff --git a/glib2.spec b/glib2.spec index 7168b8b..48e4309 100644 --- a/glib2.spec +++ b/glib2.spec @@ -1,6 +1,6 @@ Name: glib2 Version: 2.65.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A library of handy utility functions License: LGPLv2+ @@ -85,6 +85,10 @@ 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 \ @@ -217,6 +221,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_datadir}/installed-tests %changelog +* Tue Jun 30 2020 Jeff Law - 2.65.0-3 +Disable LTO + * Mon Jun 22 2020 Kalev Lember - 2.65.0-2 - Update gio-2.0.pc with correct gio-querymodules name when renaming it (#1849441)