1 |
commit: f707e48b956f834b3beee2cc82435fdb669336e4 |
2 |
Author: matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com> |
3 |
AuthorDate: Tue May 3 03:17:04 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 14 02:57:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f707e48b |
7 |
|
8 |
dev-libs/dietlibc: fix elftrunc segfault during build |
9 |
|
10 |
Closes: https://bugs.gentoo.org/676704 |
11 |
Bug: https://bugs.gentoo.org/807667 |
12 |
Signed-off-by: matoro <matoro <AT> users.noreply.github.com> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/25293 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
dev-libs/dietlibc/dietlibc-0.34.ebuild | 5 ++++- |
17 |
1 file changed, 4 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/dev-libs/dietlibc/dietlibc-0.34.ebuild b/dev-libs/dietlibc/dietlibc-0.34.ebuild |
20 |
index 856d3468195f..d431bc265b2c 100644 |
21 |
--- a/dev-libs/dietlibc/dietlibc-0.34.ebuild |
22 |
+++ b/dev-libs/dietlibc/dietlibc-0.34.ebuild |
23 |
@@ -1,4 +1,4 @@ |
24 |
-# Copyright 1999-2019 Gentoo Authors |
25 |
+# Copyright 1999-2022 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
EAPI="7" |
29 |
@@ -24,6 +24,9 @@ src_prepare() { |
30 |
# Replace sparc64 related C[XX]FLAGS (see bug #45716) |
31 |
use sparc && replace-sparc64-flags |
32 |
|
33 |
+ # bug 676704 |
34 |
+ use sparc && tc-is-gcc && append-flags -fno-tree-pre |
35 |
+ |
36 |
# gcc-hppa suffers support for SSP, compilation will fail |
37 |
use hppa && strip-unsupported-flags |