diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-09-30 23:44:01 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-10-01 11:02:42 +0200 |
commit | d852e4014f35b66960856961300790e2f37cc9ef (patch) | |
tree | bbad6fdf62fb203ea6bb9e813db008b0988ef6fc /sys-libs/libomp | |
parent | sys-libs/libcxx: Remove obsolete LLVM_MAIN_SRCDIR hack (diff) | |
download | gentoo-d852e4014f35b66960856961300790e2f37cc9ef.tar.gz gentoo-d852e4014f35b66960856961300790e2f37cc9ef.tar.bz2 gentoo-d852e4014f35b66960856961300790e2f37cc9ef.zip |
sys-libs/libomp: Fix using external lit
Diffstat (limited to 'sys-libs/libomp')
-rw-r--r-- | sys-libs/libomp/libomp-9999.ebuild | 3 |
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 } |