From a09806de6549f1723c5d404e6e7fbf2b9e3cac12 Mon Sep 17 00:00:00 2001 From: Michal Gorny Date: Thu, 12 Oct 2017 18:51:37 +0000 Subject: [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 --- cmake/Modules/CompilerRTCompile.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') 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() -- cgit v1.2.3