commit: 9c4f5b81368474b9bb7fb8245945c7faba3cc3e5 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Mar 14 02:48:57 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 14 02:49:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c4f5b81
toolchain.eclass: only sed .json for 15 ... it doesn't exist in older versions. Bug: https://bugs.gentoo.org/948394 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index d48d8cf78d06..bb8bb6512394 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2647,7 +2647,7 @@ toolchain_src_install() { fi # Hack for C++ modules - if ! is_crosscompile; then + if ! is_crosscompile && tc_version_is_at_least 15.0.1_pre20250316 ${PV}; then # PR19266 (bug #948394) sed -i -e "s,\.\./lib/gcc/${CHOST}/${GCCMAJOR}/include/,include/," \ "${ED}"/usr/lib/gcc/${CHOST}/${GCCMAJOR}/libstdc++.modules.json || die
