Restore LTO use when building binutils.

Resolves: RHEL-53215
This commit is contained in:
Nick Clifton 2024-08-08 10:23:06 +01:00
parent c787dc68a0
commit 69966ae21e

View File

@ -2,7 +2,7 @@
Summary: A GNU collection of binary utilities
Name: binutils%{?_with_debug:-debug}
Version: 2.41
Release: 47%{?dist}
Release: 48%{?dist}
License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later
URL: https://sourceware.org/binutils
@ -43,10 +43,8 @@ URL: https://sourceware.org/binutils
# Enable support for GCC LTO compilation.
# Disable if it is necessary to work around bugs in LTO.
# FIXME: Temporarily disabled because of RHEL-49348. The linker in the current
# RHEL-10 buildroot is suffering from the compilation bug. The workaround is
# to avoid using LTO...
%define enable_lto 0
# %%define enable_lto 0
%define enable_lto 1
# Enable support for generating new dtags in the linker
# Disable if it is necessary to use RPATH instead.
@ -1392,6 +1390,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Thu Aug 08 2024 Nick Clifton <nickc@redhat.com> - 2.41-48
- Restore LTO use when building binutils. (RHEL-53215)
* Tue Jul 30 2024 Nick Clifton <nickc@redhat.com> - 2.41-47
- Temporary workaround for ppc64 gcc compilation bug. (RHEL-49348)