summaryrefslogtreecommitdiff
path: root/test/cfi
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-03-18 00:25:43 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-03-18 00:25:43 +0000
commit3cdb20b8a006082faaff2585a6be214ebbd92772 (patch)
treec333b562f10e0d29b2b00ea2361ca159cc783c0a /test/cfi
parenta938e22d24ce7d7af81469bb06bb417d28f8a65f (diff)
downloadcompiler-rt-3cdb20b8a006082faaff2585a6be214ebbd92772.tar.gz
Fix sanitizer tests with LLVM_TOOL_LLD_BUILD=OFF.
Only depend on LLD if it is going to be built. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@298174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/cfi')
-rw-r--r--test/cfi/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cfi/CMakeLists.txt b/test/cfi/CMakeLists.txt
index bd51eacb6..c3123a820 100644
--- a/test/cfi/CMakeLists.txt
+++ b/test/cfi/CMakeLists.txt
@@ -34,7 +34,7 @@ if(NOT COMPILER_RT_STANDALONE_BUILD)
LTO
)
endif()
- if(WIN32 AND COMPILER_RT_HAS_LLD_SOURCES)
+ if(WIN32 AND COMPILER_RT_HAS_LLD)
list(APPEND CFI_TEST_DEPS
lld
)