Enable -separate-code for all architectures, not just x86/x86_64.

This commit is contained in:
Nick Clifton 2021-09-13 14:46:30 +01:00
parent 50232d48dc
commit 75c516c6c2

View File

@ -39,7 +39,7 @@
Summary: A GNU collection of binary utilities
Name: binutils%{?name_cross}%{?_with_debug:-debug}
Version: 2.37
Release: 10%{?dist}
Release: 11%{?dist}
License: GPLv3+
URL: https://sourceware.org/binutils
@ -96,6 +96,10 @@ URL: https://sourceware.org/binutils
# configurable in case there is ever a need to disable thread support.
%define enable_threading 1
# Enable the use of separate code and data segments for all architectures,
# not just x86/x86_64.
%define enable_separate_code 1
#----End of Configure Options------------------------------------------------
# Note - in the future the gold linker may become deprecated.
@ -611,6 +615,9 @@ esac
--enable-threads=yes \
%else
--enable-threads=no \
%endif
%if %{enable_separate_code}
--enable-separate-code=yes \
%endif
$CARGS \
--enable-plugins \
@ -889,6 +896,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Tue Aug 31 2021 Nick Clifton <nickc@redhat.com> - 2.37-11
- Enable -separate-code for all architectures, not just x86/x86_64.
* Tue Aug 31 2021 Nick Clifton <nickc@redhat.com> - 2.37-10
- Allow configuring with autonconf 2.71. (#1999437)