diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-03-14 00:28:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-03-14 00:28:41 +0000 |
commit | 37185a5f2fd3d3e821d63ca90dffe9629d147da1 (patch) | |
tree | 70a2084367740ac0a0546d4084db7c4b517659d0 /eclass/toolchain.eclass | |
parent | b3f96499c112618ec301a4852f24b8b8be123d3a (diff) |
gentoo auto-resync : 14:03:2025 - 00:28:41
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index e365269d1c18..d48d8cf78d06 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2646,6 +2646,13 @@ toolchain_src_install() { fi fi + # Hack for C++ modules + if ! is_crosscompile; then + # PR19266 (bug #948394) + sed -i -e "s,\.\./lib/gcc/${CHOST}/${GCCMAJOR}/include/,include/," \ + "${ED}"/usr/lib/gcc/${CHOST}/${GCCMAJOR}/libstdc++.modules.json || die + fi + # As gcc installs object files built against both ${CHOST} and ${CTARGET} # ideally we will need to strip them using different tools: # Using ${CHOST} tools: |