summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-libs/libomp/libomp-9999.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-libs/libomp/libomp-9999.ebuild b/sys-libs/libomp/libomp-9999.ebuild
index b6c2cea8aa34..3fd5799735bc 100644
--- a/sys-libs/libomp/libomp-9999.ebuild
+++ b/sys-libs/libomp/libomp-9999.ebuild
@@ -62,6 +62,9 @@ multilib_src_configure() {
-DLIBOMP_COPY_EXPORTS=OFF
-DLIBOMP_TEST_COMPILER="$(type -P "${CHOST}-clang")"
)
+ use test && mycmakeargs+=(
+ -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+ )
cmake-utils_src_configure
}