public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/binutils] rawhide: Disable gold on RHEL 11
@ 2026-08-12  6:55 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-08-12  6:55 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/binutils
            Branch : rawhide
            Commit : ddb3cb864e8689fe53f8accd61def4403ff94aee
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-08-06T11:56:18-04:00
            Stats  : +4/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/binutils/c/ddb3cb864e8689fe53f8accd61def4403ff94aee?branch=rawhide

            Log:
            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

---
diff --git a/binutils.spec b/binutils.spec
index 4eafe2d..4dd2fef 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -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.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-12  6:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12  6:55 [rpms/binutils] rawhide: Disable gold on RHEL 11 Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox