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.
This commit is contained in:
Martin Storsjö committed 2022-10-04 13:08:13 +03:00
1 parent 7980cb83ee
commit 9a1a99fdbd
1 file changed
+4
+4
View File
@@ -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