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:
1 parent
f5c5c72a88
commit
7bbbf7c65f
2 files changed
+5
-1
No files matched your search
+1
-1
@@ -95,7 +95,7 @@ if [ -z "$NO_TOOLS" ]; then
|
|||||||
./build-lldb-mi.sh $PREFIX $HOST_ARGS
|
./build-lldb-mi.sh $PREFIX $HOST_ARGS
|
||||||
fi
|
fi
|
||||||
if [ -z "$FULL_LLVM" ]; then
|
if [ -z "$FULL_LLVM" ]; then
|
||||||
./strip-llvm.sh $PREFIX
|
./strip-llvm.sh $PREFIX $HOST_ARGS
|
||||||
fi
|
fi
|
||||||
./install-wrappers.sh $PREFIX $HOST_ARGS
|
./install-wrappers.sh $PREFIX $HOST_ARGS
|
||||||
./build-mingw-w64-tools.sh $PREFIX $HOST_ARGS
|
./build-mingw-w64-tools.sh $PREFIX $HOST_ARGS
|
||||||
|
|||||||
@@ -40,7 +40,11 @@ if [ -n "$FULL_LLVM" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$HOST" ]; then
|
if [ -n "$HOST" ]; then
|
||||||
|
case $HOST in
|
||||||
|
*-mingw32)
|
||||||
EXEEXT=.exe
|
EXEEXT=.exe
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case $(uname) in
|
case $(uname) in
|
||||||
|
|||||||
Reference in new issue
Block a user