diff options
author | Sam James <sam@gentoo.org> | 2021-12-06 22:42:32 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-06 22:43:13 +0000 |
commit | a43643b92f154070540d0f7b84ca6e5a84ea84b3 (patch) | |
tree | 31f5aec5a495878cd93e4ea608ccb51efd627141 | |
parent | sys-devel/lld: grow stack size for musl (diff) | |
download | gentoo-a43643b92f154070540d0f7b84ca6e5a84ea84b3.tar.gz gentoo-a43643b92f154070540d0f7b84ca6e5a84ea84b3.tar.bz2 gentoo-a43643b92f154070540d0f7b84ca6e5a84ea84b3.zip |
sys-devel/binutils: grow stack size for musl
Needed to avoid linker from dying on musl
on larger builds.
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | sys-devel/binutils/binutils-2.37_p1-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-9999.ebuild | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys-devel/binutils/binutils-2.37_p1-r1.ebuild b/sys-devel/binutils/binutils-2.37_p1-r1.ebuild index dd449cff9164..b1c9f93dd000 100644 --- a/sys-devel/binutils/binutils-2.37_p1-r1.ebuild +++ b/sys-devel/binutils/binutils-2.37_p1-r1.ebuild @@ -177,6 +177,8 @@ src_configure() { # Keep things sane strip-flags + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 + local x echo for x in CATEGORY CBUILD CHOST CTARGET CFLAGS LDFLAGS ; do diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index 8394f7f945ea..530596b9a949 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -178,6 +178,8 @@ src_configure() { # Keep things sane strip-flags + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 + local x echo for x in CATEGORY CBUILD CHOST CTARGET CFLAGS LDFLAGS ; do |