From 9ce1f4da5d21f399b520aeabe1b3018e90690953 Mon Sep 17 00:00:00 2001 From: Creepercdn Date: Tue, 30 May 2023 03:33:53 +0800 Subject: [PATCH] build-cross-tools: Add the --full-llvm option This matches the same option in build-all.sh. --- build-cross-tools.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build-cross-tools.sh b/build-cross-tools.sh index 9357507..ee72284 100755 --- a/build-cross-tools.sh +++ b/build-cross-tools.sh @@ -34,6 +34,10 @@ while [ $# -gt 0 ]; do --disable-mingw-w64-tools) NO_MINGW_W64_TOOLS=1 ;; + --full-llvm) + LLVM_ARGS="$LLVM_ARGS $1" + FULL_LLVM=1 + ;; --disable-make) NO_MAKE=1 ;; @@ -82,7 +86,9 @@ fi if [ -z "$NO_LLDB" ] && [ -z "$NO_LLDB_MI" ]; then ./build-lldb-mi.sh $PREFIX --host=$HOST fi -./strip-llvm.sh $PREFIX --host=$HOST +if [ -z "$FULL_LLVM" ]; then + ./strip-llvm.sh $PREFIX --host=$HOST +fi if [ -z "$NO_MINGW_W64_TOOLS" ]; then ./build-mingw-w64-tools.sh $PREFIX --skip-include-triplet-prefix --host=$HOST fi