summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2019-02-19 22:02:38 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2019-02-19 22:02:38 +0000
commitee95e8782df9a91c025f453ac9c48ca288f48768 (patch)
tree1b6b0b0437cfff331df82f2f173bebcb80499a5a
parentfdc71aca8bfd93243c23011ce47abae788fe2b76 (diff)
downloadbcm5719-llvm-ee95e8782df9a91c025f453ac9c48ca288f48768.tar.gz
bcm5719-llvm-ee95e8782df9a91c025f453ac9c48ca288f48768.zip
Fix builds with llvm/runtimes/compiler-rt after r354365
Compiler-rt doesn't include config-ix which was providing CheckSymbolExists to the LLVM build. Add it to HandleLLVMOptions to fix this llvm-svn: 354389
-rw-r--r--llvm/cmake/modules/HandleLLVMOptions.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake
index 694fe946b9b..ee9429ea202 100644
--- a/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ b/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -10,6 +10,7 @@ include(CheckCompilerVersion)
include(HandleLLVMStdlib)
include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)
+include(CheckSymbolExists)
if(CMAKE_LINKER MATCHES "lld-link\.exe" OR (WIN32 AND LLVM_USE_LINKER STREQUAL "lld") OR LLVM_ENABLE_LLD)
set(LINKER_IS_LLD_LINK TRUE)
OpenPOWER on IntegriCloud