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 | 858509cfb35ef68ab9e1a8a89f6ab0ab2f96e14a (patch) | |
tree | 189d836351c54001c6cd621f3f71197ac262575e | |
parent | d9cc80975edfe9d9d51cb8229cf20f7027ce1b08 (diff) | |
download | bcm5719-llvm-858509cfb35ef68ab9e1a8a89f6ab0ab2f96e14a.tar.gz bcm5719-llvm-858509cfb35ef68ab9e1a8a89f6ab0ab2f96e14a.zip |
[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
llvm-svn: 315604
-rw-r--r-- | compiler-rt/cmake/Modules/CompilerRTCompile.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/cmake/Modules/CompilerRTCompile.cmake b/compiler-rt/cmake/Modules/CompilerRTCompile.cmake index 872f1a065a8..556ee78969c 100644 --- a/compiler-rt/cmake/Modules/CompilerRTCompile.cmake +++ b/compiler-rt/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() |