diff options
author | Michal Gorny <mgorny@gentoo.org> | 2017-10-12 18:51:37 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2017-10-12 18:51:37 +0000 |
commit | a09806de6549f1723c5d404e6e7fbf2b9e3cac12 (patch) | |
tree | 6aac8fb90c9cf6f64cfedffb4edcd53bee92eefa /cmake | |
parent | c0ec5c621d76199dd09f2ff75160f29b5e17b014 (diff) |
[cmake] Fix skipping DEPS (typo) in sanitizer_test_compile()
Fix typo in variable assignment inside sanitizer_test_compile() that
resulted in TEST_DEPS parameter not being included in the clang_compile()
call. Spotted by George Karpenkov in D38444.
Differential Revision: https://reviews.llvm.org/D38838
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@315604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/CompilerRTCompile.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/CompilerRTCompile.cmake b/cmake/Modules/CompilerRTCompile.cmake index 872f1a065..556ee7896 100644 --- a/cmake/Modules/CompilerRTCompile.cmake +++ b/cmake/Modules/CompilerRTCompile.cmake @@ -51,7 +51,7 @@ function(sanitizer_test_compile obj_list source arch) endif() clang_compile(${output_obj} ${source} CFLAGS ${TEST_CFLAGS} ${TARGET_CFLAGS} - DEPS ${TEST_COMPILE_DEPS}) + DEPS ${COMPILE_DEPS}) list(APPEND ${obj_list} ${output_obj}) set("${obj_list}" "${${obj_list}}" PARENT_SCOPE) endfunction() |