Revert "Disable LTO."

This reverts commit 60355566b1.
This commit is contained in:
Richard W.M. Jones 2020-07-31 18:50:17 +01:00
parent 60355566b1
commit 84c3a4792e
1 changed files with 3 additions and 6 deletions

View File

@ -45,7 +45,7 @@ Summary: Access and modify virtual machine disk images
Name: libguestfs
Epoch: 1
Version: 1.43.1
Release: 3%{?dist}
Release: 4%{?dist}
License: LGPLv2+
# No kernel https://fedoraproject.org/wiki/Changes/Stop_Building_i686_Kernels
@ -766,9 +766,6 @@ sed 's/@VERSION@/%{version}/g' < %{SOURCE4} > README
%build
# Disable LTO, see:
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/ULGH5JYL7MHKDKTINJLOEN2QG6LOHWH7/
%define _lto_cflags %{nil}
# Test if network is available.
ip addr list ||:
ip route list ||:
@ -1188,8 +1185,8 @@ rm ocaml/html/.gitignore
%changelog
* Fri Jul 31 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.43.1-3
- Disable LTO.
* Fri Jul 31 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.43.1-4
- Disable then reenable LTO.
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/ULGH5JYL7MHKDKTINJLOEN2QG6LOHWH7/
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.43.1-2