llvm-core/lld: only add -mearly-ra=none for arm64

Bug: https://bugs.gentoo.org/958469
Fixes: 052524cdbe
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-06-10 22:39:02 +01:00
parent 052524cdbe
commit 943515aa09
4 changed files with 4 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ src_configure() {
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
# https://gcc.gnu.org/PR121495 (bug #958469)
tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && append-flags -mearly-ra=none
use arm64 && tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && append-flags -mearly-ra=none
use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152

View File

@@ -63,7 +63,7 @@ src_configure() {
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
# https://gcc.gnu.org/PR121495 (bug #958469)
tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && append-flags -mearly-ra=none
use arm64 && tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && append-flags -mearly-ra=none
use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152

View File

@@ -62,7 +62,7 @@ src_configure() {
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
# https://gcc.gnu.org/PR121495 (bug #958469)
tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && append-flags -mearly-ra=none
use arm64 && tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && append-flags -mearly-ra=none
use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152

View File

@@ -62,7 +62,7 @@ src_configure() {
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
# https://gcc.gnu.org/PR121495 (bug #958469)
tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && append-flags -mearly-ra=none
use arm64 && tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && append-flags -mearly-ra=none
use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152