Disable gold on RHEL 11
gold is deprecated upstream, and nothing should need it in RHEL 11. https://github.com/fedora-eln/eln/issues/553
This commit is contained in:
parent
5119f9a9cd
commit
ddb3cb864e
1 changed files with 4 additions and 0 deletions
|
|
@ -157,12 +157,16 @@ URL: https://sourceware.org/binutils
|
|||
%bcond_without zstd
|
||||
|
||||
# Note - in the future the gold linker may become deprecated.
|
||||
%if 0%{?rhel} >= 11
|
||||
%bcond_with gold
|
||||
%else
|
||||
%ifnarch riscv64
|
||||
%bcond_without gold
|
||||
%else
|
||||
# RISC-V does not have ld.gold thus disable by default.
|
||||
%bcond_with gold
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# Allow the user to override the compiler used to build the binutils.
|
||||
# The default build compiler is gcc if %%toolchain is not clang.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue