From 9a1a99fdbdb33a106e80ad15e36ff69c281451ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 8 Aug 2022 10:17:50 +0300 Subject: [PATCH] build-llvm: Disable building the local debugserver in macOS builds This silences a cmake warning about the lldb_codesign code signing identity not being found. --- build-llvm.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-llvm.sh b/build-llvm.sh index a788a84..2272f31 100755 --- a/build-llvm.sh +++ b/build-llvm.sh @@ -250,6 +250,10 @@ if [ -z "$HOST" ] && [ "$(uname)" = "Darwin" ]; then # Building LLDB for macOS fails unless building libc++ is enabled at the # same time, or unless the LLDB tests are disabled. CMAKEFLAGS="$CMAKEFLAGS -DLLDB_INCLUDE_TESTS=OFF" + # Don't build our own debugserver - use the system provided one. + # The newly built debugserver needs to be properly code signed to work. + # This silences a cmake warning. + CMAKEFLAGS="$CMAKEFLAGS -DLLDB_USE_SYSTEM_DEBUGSERVER=ON" fi fi