strip-llvm: Inspect the --host= argument for the kind of triple

Don't assume that any host argument indicates cross compiling for
Windows.

Update build-all to pass --host arguments to strip-llvm as well,
for consistency.
This commit is contained in:
Martin Storsjö committed 2024-01-12 11:06:54 +02:00
1 parent f5c5c72a88
commit 7bbbf7c65f
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ if [ -z "$NO_TOOLS" ]; then
./build-lldb-mi.sh $PREFIX $HOST_ARGS
fi
if [ -z "$FULL_LLVM" ]; then
./strip-llvm.sh $PREFIX
./strip-llvm.sh $PREFIX $HOST_ARGS
fi
./install-wrappers.sh $PREFIX $HOST_ARGS
./build-mingw-w64-tools.sh $PREFIX $HOST_ARGS