commit:     221897e8182089a650784e019457d8525700a905
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 13 18:01:46 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 13 18:01:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=221897e8

toolchain.eclass: hackily fixup libstdc++.modules.json (more)

Fixes: 87c9c1899a56f388493ecbec3b45d175d99581f2
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 b86da4cf9876..382f899366d7 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 -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