commit:     4771086f038d122bf1ba8fb81ab74fcb0a2da762
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 30 15:57:05 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 30 16:44:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4771086f

sys-libs/llvm-libunwind: Fix testing on non-native ABI

Closes: https://bugs.gentoo.org/824238
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-libs/llvm-libunwind/llvm-libunwind-13.0.0.ebuild      | 1 +
 sys-libs/llvm-libunwind/llvm-libunwind-13.0.1.9999.ebuild | 1 +
 sys-libs/llvm-libunwind/llvm-libunwind-13.0.1_rc1.ebuild  | 1 +
 sys-libs/llvm-libunwind/llvm-libunwind-14.0.0.9999.ebuild | 1 +
 4 files changed, 4 insertions(+)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-13.0.0.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-13.0.0.ebuild
index 5e5505362a33..7878ad2cc3f1 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-13.0.0.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-13.0.0.ebuild
@@ -72,6 +72,7 @@ multilib_src_configure() {
                        -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
                        
-DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
                        -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}/libcxx"
+                       -DLIBUNWIND_TARGET_TRIPLE="${CHOST}"
                )
        fi
 

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1.9999.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1.9999.ebuild
index 5d782b4128b2..c16a58ffa99e 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1.9999.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1.9999.ebuild
@@ -72,6 +72,7 @@ multilib_src_configure() {
                        -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
                        
-DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
                        -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}/libcxx"
+                       -DLIBUNWIND_TARGET_TRIPLE="${CHOST}"
                )
        fi
 

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1_rc1.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1_rc1.ebuild
index 5d782b4128b2..c16a58ffa99e 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1_rc1.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1_rc1.ebuild
@@ -72,6 +72,7 @@ multilib_src_configure() {
                        -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
                        
-DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
                        -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}/libcxx"
+                       -DLIBUNWIND_TARGET_TRIPLE="${CHOST}"
                )
        fi
 

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-14.0.0.9999.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-14.0.0.9999.ebuild
index 5d782b4128b2..c16a58ffa99e 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-14.0.0.9999.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-14.0.0.9999.ebuild
@@ -72,6 +72,7 @@ multilib_src_configure() {
                        -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
                        
-DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
                        -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}/libcxx"
+                       -DLIBUNWIND_TARGET_TRIPLE="${CHOST}"
                )
        fi
 

Reply via email to