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