summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2019-02-13 06:49:47 +0000
committerPetr Hosek <phosek@chromium.org>2019-02-13 06:49:47 +0000
commit38c723b0049fbdd2d04aca115ef064522fdb8ce6 (patch)
tree54404e53fb198f3cd4253490e429e7e3a3eb93db /compiler-rt
parentf989e585987dde7c605c84e2085366052b89a698 (diff)
downloadbcm5719-llvm-38c723b0049fbdd2d04aca115ef064522fdb8ce6.tar.gz
bcm5719-llvm-38c723b0049fbdd2d04aca115ef064522fdb8ce6.zip
[CMake] Avoid clang dependencies in the runtimes build
Dependencies like clang aren't available in the runtimes build, this was accidentally omitted in D57992. llvm-svn: 353914
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/cmake/Modules/CompilerRTCompile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/cmake/Modules/CompilerRTCompile.cmake b/compiler-rt/cmake/Modules/CompilerRTCompile.cmake
index 556ee78969c..07b589beb2d 100644
--- a/compiler-rt/cmake/Modules/CompilerRTCompile.cmake
+++ b/compiler-rt/cmake/Modules/CompilerRTCompile.cmake
@@ -136,7 +136,7 @@ macro(clang_compiler_add_cxx_check)
COMMAND bash -c "${CMD}"
COMMENT "Checking that just-built clang can find C++ headers..."
VERBATIM)
- if (NOT COMPILER_RT_STANDALONE_BUILD)
+ if (NOT COMPILER_RT_STANDALONE_BUILD AND NOT RUNTIMES_BUILD)
ADD_DEPENDENCIES(CompilerRTUnitTestCheckCxx clang)
endif()
endif()
OpenPOWER on IntegriCloud