Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils/
Date: Mon, 06 Dec 2021 22:43:25
Message-Id: 1638830593.a43643b92f154070540d0f7b84ca6e5a84ea84b3.sam@gentoo
1 commit: a43643b92f154070540d0f7b84ca6e5a84ea84b3
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 6 22:42:32 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 6 22:43:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a43643b9
7
8 sys-devel/binutils: grow stack size for musl
9
10 Needed to avoid linker from dying on musl
11 on larger builds.
12
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 sys-devel/binutils/binutils-2.37_p1-r1.ebuild | 2 ++
16 sys-devel/binutils/binutils-9999.ebuild | 2 ++
17 2 files changed, 4 insertions(+)
18
19 diff --git a/sys-devel/binutils/binutils-2.37_p1-r1.ebuild b/sys-devel/binutils/binutils-2.37_p1-r1.ebuild
20 index dd449cff9164..b1c9f93dd000 100644
21 --- a/sys-devel/binutils/binutils-2.37_p1-r1.ebuild
22 +++ b/sys-devel/binutils/binutils-2.37_p1-r1.ebuild
23 @@ -177,6 +177,8 @@ src_configure() {
24 # Keep things sane
25 strip-flags
26
27 + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152
28 +
29 local x
30 echo
31 for x in CATEGORY CBUILD CHOST CTARGET CFLAGS LDFLAGS ; do
32
33 diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild
34 index 8394f7f945ea..530596b9a949 100644
35 --- a/sys-devel/binutils/binutils-9999.ebuild
36 +++ b/sys-devel/binutils/binutils-9999.ebuild
37 @@ -178,6 +178,8 @@ src_configure() {
38 # Keep things sane
39 strip-flags
40
41 + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152
42 +
43 local x
44 echo
45 for x in CATEGORY CBUILD CHOST CTARGET CFLAGS LDFLAGS ; do