Stop the new warnings from being treated as errors by default.

Resolves; RHEL-59801
This commit is contained in:
Nick Clifton 2024-10-28 10:54:17 +00:00
parent a040dcc13a
commit 1c944285bb

View File

@ -2,7 +2,7 @@
Summary: A GNU collection of binary utilities
Name: binutils%{?_with_debug:-debug}
Version: 2.35.2
Release: 55%{?dist}
Release: 56%{?dist}
License: GPLv3+
URL: https://sourceware.org/binutils
@ -42,8 +42,8 @@ URL: https://sourceware.org/binutils
# Turn the above warnings into errors.
# Only effective if the warnings are enabled.
%define error_for_executable_stacks 1
%define error_for_rwx_segments 1
%define error_for_executable_stacks 0
%define error_for_rwx_segments 0
# Enable support for GCC LTO compilation.
# Disable if it is necessary to work around bugs in LTO.
@ -1339,6 +1339,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Mon Oct 28 2024 Nick Clifton <nickc@redhat.com> - 2.35.2-56
- Stop the new warnings from being treated as errors by default. (RHEL-62707)
* Tue Oct 01 2024 Nick Clifton <nickc@redhat.com> - 2.35.2-55
- Add linker error/warning messages for executable stacks and RWX segments. (RHEL-59801, RHEL-59802)