Re-enable LTO

resolves: rhbz#1986163

(cherry picked from commit 1ead53a482)
This commit is contained in:
Jeff Law 2021-05-10 16:27:17 -06:00 committed by Richard W.M. Jones
parent 49fc912a50
commit fbe9081a63

View File

@ -1,7 +1,3 @@
# Disable LTO because:
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y3WTAS3MJ5WNNVVYPXARFXV6A6QH6KEY/
%define _lto_cflags %{nil}
# Architectures on which golang works. # Architectures on which golang works.
#% global golang_arches aarch64 % {arm} % {ix86} x86_64 #% global golang_arches aarch64 % {arm} % {ix86} x86_64
# In theory the above, in practice golang is so often broken that # In theory the above, in practice golang is so often broken that
@ -61,7 +57,7 @@ Summary: Access and modify virtual machine disk images
Name: libguestfs Name: libguestfs
Epoch: 1 Epoch: 1
Version: 1.45.6 Version: 1.45.6
Release: 9%{?dist} Release: 10%{?dist}
License: LGPLv2+ License: LGPLv2+
# Build only for architectures that have a kernel # Build only for architectures that have a kernel
@ -1124,6 +1120,9 @@ rm ocaml/html/.gitignore
%changelog %changelog
* Mon Jul 26 2021 Jeff Law <jlaw@tachyum.com> - 1:1.45.6-10
- Re-enable LTO
* Tue Jun 29 2021 Richard W.M. Jones <rjones@redhat.com> - 1:1.45.6-9 * Tue Jun 29 2021 Richard W.M. Jones <rjones@redhat.com> - 1:1.45.6-9
- RHEL 9 patch for openssl missing configuration file - RHEL 9 patch for openssl missing configuration file
https://bugzilla.redhat.com/show_bug.cgi?id=1977214#c13 https://bugzilla.redhat.com/show_bug.cgi?id=1977214#c13