From 248fe9f3370a85043dd4ed7e666bdf830119bf0f Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 30 Nov 2021 17:41:24 +0100 Subject: sys-libs/libcxx: Fix testing on non-native ABI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sys-libs/libcxx/libcxx-13.0.0.ebuild | 1 + sys-libs/libcxx/libcxx-13.0.1.9999.ebuild | 1 + sys-libs/libcxx/libcxx-13.0.1_rc1.ebuild | 1 + sys-libs/libcxx/libcxx-14.0.0.9999.ebuild | 1 + 4 files changed, 4 insertions(+) (limited to 'sys-libs') 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 -- cgit v1.2.3-65-gdbad