summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-09-30 23:40:53 +0200
committerMichał Górny <mgorny@gentoo.org>2017-10-01 11:02:37 +0200
commitdab1d99f12af3bb79b58c03db183cbafa1a2f948 (patch)
treeea4b27d4ee9b365dae333e5b07a559796334bccc /sys-libs
parentsys-libs/compiler-rt: Make the tests more verbose (diff)
downloadgentoo-dab1d99f12af3bb79b58c03db183cbafa1a2f948.tar.gz
gentoo-dab1d99f12af3bb79b58c03db183cbafa1a2f948.tar.bz2
gentoo-dab1d99f12af3bb79b58c03db183cbafa1a2f948.zip
sys-libs/compiler-rt-sanitizers: Fix using external lit
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild3
1 files changed, 2 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 fd460b2edcb5..7239e9cde94d 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild
@@ -88,7 +88,8 @@ src_configure() {
if use test; then
mycmakeargs+=(
-DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
- -DLIT_COMMAND="${EPREFIX}/usr/bin/unsandbox;${EPREFIX}/usr/bin/lit"
+ -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/unsandbox"
+ -DLLVM_LIT_ARGS="lit;-sv"
# they are created during src_test()
-DCOMPILER_RT_TEST_COMPILER="${BUILD_DIR}/lib/llvm/${LLVM_SLOT}/bin/clang"