summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'llvm-runtimes/libcxx/libcxx-22.0.0.9999.ebuild')
-rw-r--r--llvm-runtimes/libcxx/libcxx-22.0.0.9999.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm-runtimes/libcxx/libcxx-22.0.0.9999.ebuild b/llvm-runtimes/libcxx/libcxx-22.0.0.9999.ebuild
index 935dea8bfb0f..aadd7774d65e 100644
--- a/llvm-runtimes/libcxx/libcxx-22.0.0.9999.ebuild
+++ b/llvm-runtimes/libcxx/libcxx-22.0.0.9999.ebuild
@@ -85,6 +85,12 @@ src_configure() {
}
multilib_src_configure() {
+ # Workaround for bgo #961153.
+ # TODO: Fix the multilib.eclass, so it sets CTARGET properly.
+ if ! is_crosspkg; then
+ export CTARGET=${CHOST}
+ fi
+
if use clang; then
llvm_prepend_path -b "${LLVM_MAJOR}"
local -x CC=${CTARGET}-clang