mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user