summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-11-30 17:41:24 +0100
committerMichał Górny <mgorny@gentoo.org>2021-11-30 17:44:15 +0100
commit248fe9f3370a85043dd4ed7e666bdf830119bf0f (patch)
tree340437110009c7c9ab66aab948bb548fe3a1b1c6 /sys-libs/libcxx
parentsys-libs/libcxxabi: Fix testing on non-native ABI (diff)
downloadgentoo-248fe9f3370a85043dd4ed7e666bdf830119bf0f.tar.gz
gentoo-248fe9f3370a85043dd4ed7e666bdf830119bf0f.tar.bz2
gentoo-248fe9f3370a85043dd4ed7e666bdf830119bf0f.zip
sys-libs/libcxx: Fix testing on non-native ABI
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs/libcxx')
-rw-r--r--sys-libs/libcxx/libcxx-13.0.0.ebuild1
-rw-r--r--sys-libs/libcxx/libcxx-13.0.1.9999.ebuild1
-rw-r--r--sys-libs/libcxx/libcxx-13.0.1_rc1.ebuild1
-rw-r--r--sys-libs/libcxx/libcxx-14.0.0.9999.ebuild1
4 files changed, 4 insertions, 0 deletions
diff --git a/sys-libs/libcxx/libcxx-13.0.0.ebuild b/sys-libs/libcxx/libcxx-13.0.0.ebuild
index a4f36e792e65..dc0615878d5b 100644
--- a/sys-libs/libcxx/libcxx-13.0.0.ebuild
+++ b/sys-libs/libcxx/libcxx-13.0.0.ebuild
@@ -144,6 +144,7 @@ multilib_src_configure() {
-DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
-DLIBCXX_LINK_TESTS_WITH_SHARED_LIBCXXABI=ON
-DPython3_EXECUTABLE="${PYTHON}"
+ -DLIBCXX_TARGET_TRIPLE="${CHOST}"
)
fi
cmake_src_configure
diff --git a/sys-libs/libcxx/libcxx-13.0.1.9999.ebuild b/sys-libs/libcxx/libcxx-13.0.1.9999.ebuild
index 5dca7551438c..fbcd79834cfb 100644
--- a/sys-libs/libcxx/libcxx-13.0.1.9999.ebuild
+++ b/sys-libs/libcxx/libcxx-13.0.1.9999.ebuild
@@ -144,6 +144,7 @@ multilib_src_configure() {
-DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
-DLIBCXX_LINK_TESTS_WITH_SHARED_LIBCXXABI=ON
-DPython3_EXECUTABLE="${PYTHON}"
+ -DLIBCXX_TARGET_TRIPLE="${CHOST}"
)
fi
cmake_src_configure
diff --git a/sys-libs/libcxx/libcxx-13.0.1_rc1.ebuild b/sys-libs/libcxx/libcxx-13.0.1_rc1.ebuild
index f342357254b2..2759ecac9550 100644
--- a/sys-libs/libcxx/libcxx-13.0.1_rc1.ebuild
+++ b/sys-libs/libcxx/libcxx-13.0.1_rc1.ebuild
@@ -144,6 +144,7 @@ multilib_src_configure() {
-DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
-DLIBCXX_LINK_TESTS_WITH_SHARED_LIBCXXABI=ON
-DPython3_EXECUTABLE="${PYTHON}"
+ -DLIBCXX_TARGET_TRIPLE="${CHOST}"
)
fi
cmake_src_configure
diff --git a/sys-libs/libcxx/libcxx-14.0.0.9999.ebuild b/sys-libs/libcxx/libcxx-14.0.0.9999.ebuild
index 5dca7551438c..fbcd79834cfb 100644
--- a/sys-libs/libcxx/libcxx-14.0.0.9999.ebuild
+++ b/sys-libs/libcxx/libcxx-14.0.0.9999.ebuild
@@ -144,6 +144,7 @@ multilib_src_configure() {
-DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
-DLIBCXX_LINK_TESTS_WITH_SHARED_LIBCXXABI=ON
-DPython3_EXECUTABLE="${PYTHON}"
+ -DLIBCXX_TARGET_TRIPLE="${CHOST}"
)
fi
cmake_src_configure