summaryrefslogtreecommitdiff
path: root/clang/runtime
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-06-28 17:00:49 +0000
committerChris Bieneman <beanz@apple.com>2016-06-28 17:00:49 +0000
commitdd0f09b31deab40d661bfd73984781d9a6033ccd (patch)
tree35d3a6bc02dbbb90b07208beba84606eb7c293df /clang/runtime
parent254a6450ddb74ed1211b4c7aa5196b6d4aa71a2c (diff)
downloadllvm-dd0f09b31deab40d661bfd73984781d9a6033ccd.tar.gz
[CMake] Pass LLVM_LIT_ARGS into compiler-rt build.
If top-level lit args are specified, you probably want that in the sub-project too. llvm-svn: 274035
Diffstat (limited to 'clang/runtime')
-rw-r--r--clang/runtime/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/runtime/CMakeLists.txt b/clang/runtime/CMakeLists.txt
index 9e58ec19a005..1c745ee2236f 100644
--- a/clang/runtime/CMakeLists.txt
+++ b/clang/runtime/CMakeLists.txt
@@ -70,6 +70,7 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}
-DLLVM_CONFIG_PATH=${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-config
+ -DLLVM_LIT_ARGS=${LLVM_LIT_ARGS}
-DCOMPILER_RT_OUTPUT_DIR=${LLVM_LIBRARY_OUTPUT_INTDIR}/clang/${CLANG_VERSION}
-DCOMPILER_RT_EXEC_OUTPUT_DIR=${LLVM_RUNTIME_OUTPUT_INTDIR}
-DCOMPILER_RT_INSTALL_PATH:STRING=lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}