From d544d0c5855258e2a753e709b47faf2b06d95b96 Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Tue, 19 Feb 2019 22:02:38 +0000 Subject: [PATCH] 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354389 91177308-0d34-0410-b5e6-96231b3b80d8 --- cmake/modules/HandleLLVMOptions.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake index 694fe946b9b..ee9429ea202 100644 --- a/cmake/modules/HandleLLVMOptions.cmake +++ b/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) -- 2.50.1