forked from OSchip/llvm-project
[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
This commit is contained in:
parent
d9cc80975e
commit
858509cfb3
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue