1 |
commit: 8ec9df4262c5dea351c239266930f2cfa39fcb19 |
2 |
Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 6 22:41:06 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 6 22:43:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ec9df42 |
7 |
|
8 |
sys-devel/lld: grow stack size for musl |
9 |
|
10 |
[sam: needed to avoid linker from dying on musl |
11 |
on larger builds.] |
12 |
|
13 |
Signed-off-by: Jory A. Pratt <anarchy <AT> gentoo.org> |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
sys-devel/lld/lld-13.0.0.ebuild | 4 +++- |
17 |
sys-devel/lld/lld-13.0.1.9999.ebuild | 4 +++- |
18 |
sys-devel/lld/lld-13.0.1_rc1.ebuild | 4 +++- |
19 |
sys-devel/lld/lld-14.0.0.9999.ebuild | 4 +++- |
20 |
4 files changed, 12 insertions(+), 4 deletions(-) |
21 |
|
22 |
diff --git a/sys-devel/lld/lld-13.0.0.ebuild b/sys-devel/lld/lld-13.0.0.ebuild |
23 |
index b785c62fae4b..16d9d0874180 100644 |
24 |
--- a/sys-devel/lld/lld-13.0.0.ebuild |
25 |
+++ b/sys-devel/lld/lld-13.0.0.ebuild |
26 |
@@ -4,7 +4,7 @@ |
27 |
EAPI=7 |
28 |
|
29 |
PYTHON_COMPAT=( python3_{8..10} ) |
30 |
-inherit cmake llvm llvm.org python-any-r1 |
31 |
+inherit cmake flag-o-matic llvm llvm.org python-any-r1 |
32 |
|
33 |
DESCRIPTION="The LLVM linker (link editor)" |
34 |
HOMEPAGE="https://llvm.org/" |
35 |
@@ -51,6 +51,8 @@ src_configure() { |
36 |
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
37 |
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" |
38 |
|
39 |
+ use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 |
40 |
+ |
41 |
local mycmakeargs=( |
42 |
-DBUILD_SHARED_LIBS=ON |
43 |
-DLLVM_INCLUDE_TESTS=$(usex test) |
44 |
|
45 |
diff --git a/sys-devel/lld/lld-13.0.1.9999.ebuild b/sys-devel/lld/lld-13.0.1.9999.ebuild |
46 |
index 8bcce2b3022a..863c9b49bdb9 100644 |
47 |
--- a/sys-devel/lld/lld-13.0.1.9999.ebuild |
48 |
+++ b/sys-devel/lld/lld-13.0.1.9999.ebuild |
49 |
@@ -4,7 +4,7 @@ |
50 |
EAPI=7 |
51 |
|
52 |
PYTHON_COMPAT=( python3_{8..10} ) |
53 |
-inherit cmake llvm llvm.org python-any-r1 |
54 |
+inherit cmake flag-o-matic llvm llvm.org python-any-r1 |
55 |
|
56 |
DESCRIPTION="The LLVM linker (link editor)" |
57 |
HOMEPAGE="https://llvm.org/" |
58 |
@@ -51,6 +51,8 @@ src_configure() { |
59 |
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
60 |
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" |
61 |
|
62 |
+ use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 |
63 |
+ |
64 |
local mycmakeargs=( |
65 |
-DBUILD_SHARED_LIBS=ON |
66 |
-DLLVM_INCLUDE_TESTS=$(usex test) |
67 |
|
68 |
diff --git a/sys-devel/lld/lld-13.0.1_rc1.ebuild b/sys-devel/lld/lld-13.0.1_rc1.ebuild |
69 |
index 8bcce2b3022a..863c9b49bdb9 100644 |
70 |
--- a/sys-devel/lld/lld-13.0.1_rc1.ebuild |
71 |
+++ b/sys-devel/lld/lld-13.0.1_rc1.ebuild |
72 |
@@ -4,7 +4,7 @@ |
73 |
EAPI=7 |
74 |
|
75 |
PYTHON_COMPAT=( python3_{8..10} ) |
76 |
-inherit cmake llvm llvm.org python-any-r1 |
77 |
+inherit cmake flag-o-matic llvm llvm.org python-any-r1 |
78 |
|
79 |
DESCRIPTION="The LLVM linker (link editor)" |
80 |
HOMEPAGE="https://llvm.org/" |
81 |
@@ -51,6 +51,8 @@ src_configure() { |
82 |
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
83 |
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" |
84 |
|
85 |
+ use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 |
86 |
+ |
87 |
local mycmakeargs=( |
88 |
-DBUILD_SHARED_LIBS=ON |
89 |
-DLLVM_INCLUDE_TESTS=$(usex test) |
90 |
|
91 |
diff --git a/sys-devel/lld/lld-14.0.0.9999.ebuild b/sys-devel/lld/lld-14.0.0.9999.ebuild |
92 |
index 8bcce2b3022a..863c9b49bdb9 100644 |
93 |
--- a/sys-devel/lld/lld-14.0.0.9999.ebuild |
94 |
+++ b/sys-devel/lld/lld-14.0.0.9999.ebuild |
95 |
@@ -4,7 +4,7 @@ |
96 |
EAPI=7 |
97 |
|
98 |
PYTHON_COMPAT=( python3_{8..10} ) |
99 |
-inherit cmake llvm llvm.org python-any-r1 |
100 |
+inherit cmake flag-o-matic llvm llvm.org python-any-r1 |
101 |
|
102 |
DESCRIPTION="The LLVM linker (link editor)" |
103 |
HOMEPAGE="https://llvm.org/" |
104 |
@@ -51,6 +51,8 @@ src_configure() { |
105 |
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
106 |
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" |
107 |
|
108 |
+ use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 |
109 |
+ |
110 |
local mycmakeargs=( |
111 |
-DBUILD_SHARED_LIBS=ON |
112 |
-DLLVM_INCLUDE_TESTS=$(usex test) |