diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-14 23:53:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-14 23:53:26 +0000 |
commit | 3bd85407abc9ed4434c2d3741f84fdb512638b1c (patch) | |
tree | 15a296c276aca23d87cb4f2181f2249d706ca05f /sys-devel/binutils/binutils-2.37_p1-r2.ebuild | |
parent | a90c84e720803f3d26c0ade8f1f1e405ca97502a (diff) |
gentoo auto-resync : 14:01:2023 - 23:53:26
Diffstat (limited to 'sys-devel/binutils/binutils-2.37_p1-r2.ebuild')
-rw-r--r-- | sys-devel/binutils/binutils-2.37_p1-r2.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys-devel/binutils/binutils-2.37_p1-r2.ebuild b/sys-devel/binutils/binutils-2.37_p1-r2.ebuild index 712f1d46b7a1..333ff355ede5 100644 --- a/sys-devel/binutils/binutils-2.37_p1-r2.ebuild +++ b/sys-devel/binutils/binutils-2.37_p1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -170,6 +170,13 @@ src_configure() { # Keep things sane strip-flags + # ideally we want !tc-ld-is-bfd for best future-proofing, but it needs + # https://github.com/gentoo/gentoo/pull/28355 + # mold needs this too but right now tc-ld-is-mold is also not available + if tc-ld-is-lld; then + append-ldflags -Wl,--undefined-version + fi + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 local x |