Re-enable LTO

resolves: rhbz#1986163

(cherry picked from commit 1ead53a482176aeffc02f3dfbff9a49427c789a2)
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
1 changed files with 4 additions and 5 deletions

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.
#% global golang_arches aarch64 % {arm} % {ix86} x86_64
# 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
Epoch: 1
Version: 1.45.6
Release: 9%{?dist}
Release: 10%{?dist}
License: LGPLv2+
# Build only for architectures that have a kernel
@ -1124,6 +1120,9 @@ rm ocaml/html/.gitignore
%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
- RHEL 9 patch for openssl missing configuration file
https://bugzilla.redhat.com/show_bug.cgi?id=1977214#c13