Disable LTO
This commit is contained in:
parent
ee2a246925
commit
06a3cf31cd
@ -1,6 +1,6 @@
|
|||||||
Name: glib2
|
Name: glib2
|
||||||
Version: 2.65.0
|
Version: 2.65.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A library of handy utility functions
|
Summary: A library of handy utility functions
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -85,6 +85,10 @@ the functionality of the installed glib2 package.
|
|||||||
%autosetup -n glib-%{version} -p1
|
%autosetup -n glib-%{version} -p1
|
||||||
|
|
||||||
%build
|
%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
|
# Bug 1324770: Also explicitly remove PCRE sources since we use --with-pcre=system
|
||||||
rm glib/pcre/*.[ch]
|
rm glib/pcre/*.[ch]
|
||||||
%meson \
|
%meson \
|
||||||
@ -217,6 +221,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|||||||
%{_datadir}/installed-tests
|
%{_datadir}/installed-tests
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 30 2020 Jeff Law <aw@redhat.com> - 2.65.0-3
|
||||||
|
Disable LTO
|
||||||
|
|
||||||
* Mon Jun 22 2020 Kalev Lember <klember@redhat.com> - 2.65.0-2
|
* Mon Jun 22 2020 Kalev Lember <klember@redhat.com> - 2.65.0-2
|
||||||
- Update gio-2.0.pc with correct gio-querymodules name when renaming it
|
- Update gio-2.0.pc with correct gio-querymodules name when renaming it
|
||||||
(#1849441)
|
(#1849441)
|
||||||
|
Loading…
Reference in New Issue
Block a user