From 92dd318f485247c241d39799030879b06a284b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 22 Oct 2026 14:49:15 +0300 Subject: [PATCH] build-cross-tools: Allow passing the --disable-dylib option to build-llvm.sh --- build-cross-tools.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build-cross-tools.sh b/build-cross-tools.sh index 8644b00..d46bb34 100755 --- a/build-cross-tools.sh +++ b/build-cross-tools.sh @@ -31,6 +31,9 @@ while [ $# -gt 0 ]; do --disable-lldb-mi) NO_LLDB_MI=1 ;; + --disable-dylib) + LLVM_ARGS="$LLVM_ARGS $1" + ;; --disable-clang-tools-extra) LLVM_ARGS="$LLVM_ARGS $1" ;; @@ -66,7 +69,7 @@ while [ $# -gt 0 ]; do shift done if [ -z "$CROSS_ARCH" ]; then - echo $0 native prefix arch [--with-python] [--with-busybox] [--disable-lldb] [--disable-lldb-mi] [--disable-clang-tools-extra] [--disable-mingw-w64-tools] [--disable-make] [--no-llvm-tool-reuse] [--thinlto] [--lto] [--pgo[=profile]] + echo $0 native prefix arch [--with-python] [--with-busybox] [--disable-lldb] [--disable-lldb-mi] [--disable-clang-tools-extra] [--disable-dylib] [--disable-mingw-w64-tools] [--disable-make] [--no-llvm-tool-reuse] [--thinlto] [--lto] [--pgo[=profile]] exit 1 fi