diff options
-rw-r--r-- | sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild index e9ca98269103..9b280fd0ba34 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild @@ -25,7 +25,8 @@ RDEPEND="${PYTHON_DEPS} !<sys-devel/llvm-${PV}" DEPEND="${RDEPEND} ~sys-devel/llvm-${PV} - test? ( ~sys-devel/clang-${PV} + test? ( dev-python/lit[${PYTHON_USEDEP}] + ~sys-devel/clang-${PV} ~sys-libs/compiler-rt-${PV} ) ${PYTHON_DEPS}" @@ -69,6 +70,7 @@ src_configure() { if use test; then mycmakeargs+=( -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" + -DLIT_COMMAND="${EPREFIX}/usr/bin/lit" # they are created during src_test() -DCOMPILER_RT_TEST_COMPILER="${BUILD_DIR}/bin/clang" |