summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/lldb/make.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/data/lldb/make.sh b/data/lldb/make.sh
index f019632f2..6e4bc72e3 100644
--- a/data/lldb/make.sh
+++ b/data/lldb/make.sh
@@ -37,9 +37,13 @@ set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
EOF
-cmake -DCMAKE_TOOLCHAIN_FILE=iphoneos_toolchain.cmake -DCMAKE_OSX_SYSROOT="${PKG_ROOT}" -DLLVM_INCLUDE_TESTS=OFF -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_SYSTEM_NAME=Darwin -DLLVM_TABLEGEN="$(pwd)/../host/bin/llvm-tblgen" -DCLANG_TABLEGEN="$(pwd)/../host/bin/clang-tblgen"-DLLVM_DEFAULT_TARGET_TRIPLE="$(echo ${PKG_TARG} | sed -e s/aarch64/arm64/ -e 's/darwin.*/darwin/')" ..
+cmake -DCMAKE_TOOLCHAIN_FILE=iphoneos_toolchain.cmake -DCMAKE_OSX_SYSROOT="${PKG_ROOT}" -DLLVM_INCLUDE_TESTS=OFF -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_SYSTEM_NAME=Darwin -DLLVM_TABLEGEN="$(pwd)/../host/bin/llvm-tblgen" -DCLANG_TABLEGEN="$(pwd)/../host/bin/clang-tblgen"-DLLVM_DEFAULT_TARGET_TRIPLE="$(echo ${PKG_TARG} | sed -e s/aarch64/arm64/ -e 's/darwin.*/darwin/')" \
+ -DLLDB_DISABLE_PYTHON=1 -DLLDB_DISABLE_LIBEDIT=1 -DIOS=0 ..
+make -j32 lldb
-make lldb
+# Notes:
+# tools/lldb/source/Host/macosx/objcxx/Host.mm:
+# Define NO_XPC_SERVICES with a patch
# Install
: pkg:install