commit:     5a8d9cd103fc03a30dbcf6c455b13cf31d8ee15e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 13 18:08:23 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 13 18:09:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a8d9cd1

toolchain.eclass: another .json fixup

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 382f899366d7..d48d8cf78d06 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -2649,7 +2649,7 @@ toolchain_src_install() {
        # Hack for C++ modules
        if ! is_crosscompile; then
                # PR19266 (bug #948394)
-               sed -i -e 
"s,\.\./lib/gcc/${CHOST}/${GCCMAJOR}/include/,../../../../include/," \
+               sed -i -e 
"s,\.\./lib/gcc/${CHOST}/${GCCMAJOR}/include/,include/," \
                        
"${ED}"/usr/lib/gcc/${CHOST}/${GCCMAJOR}/libstdc++.modules.json || die
        fi
 

Reply via email to