From d852e4014f35b66960856961300790e2f37cc9ef Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 30 Sep 2017 23:44:01 +0200 Subject: sys-libs/libomp: Fix using external lit --- sys-libs/libomp/libomp-9999.ebuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys-libs/libomp') 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 } -- cgit v1.2.3-65-gdbad