aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-12-21 08:56:14 +0000
committerAlexey Samsonov <samsonov@google.com>2012-12-21 08:56:14 +0000
commit32b8991f961e585ccfe1710f5402a14b4e44cecc (patch)
treeda12762c28a1a9145fa57e6c9ff8e629f76ca8e3 /cmake
parentfe6d91684bcda766593800f6307233f1a33d31f6 (diff)
downloadcompiler-rt-32b8991f961e585ccfe1710f5402a14b4e44cecc.tar.gz
[Sanitizer] Don't implicitly add object files to the list of dependencies when building compiler_rt unittests. Fix sanitizer_common and asan build rules accordingly. This also fixes check-sanitizer command on Ninja.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170870 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/CompilerRTUnittests.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/CompilerRTUnittests.cmake b/cmake/Modules/CompilerRTUnittests.cmake
index b50272cda..dbf14804b 100644
--- a/cmake/Modules/CompilerRTUnittests.cmake
+++ b/cmake/Modules/CompilerRTUnittests.cmake
@@ -24,7 +24,7 @@ macro(add_compiler_rt_test test_suite test_name)
OUTPUT ${output_bin}
COMMAND clang ${TEST_OBJECTS} -o "${output_bin}"
${TEST_LINK_FLAGS}
- DEPENDS clang ${TEST_DEPS} ${TEST_OBJECTS})
+ DEPENDS clang ${TEST_DEPS})
add_custom_target(${test_name} DEPENDS ${output_bin})
# Make the test suite depend on the binary.
add_dependencies(${test_suite} ${test_name})