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

+5 -1
View File
@@ -40,7 +40,11 @@ if [ -n "$FULL_LLVM" ]; then
fi
if [ -n "$HOST" ]; then
EXEEXT=.exe
case $HOST in
*-mingw32)
EXEEXT=.exe
;;
esac
fi
case $(uname) in