diff --git a/build-all.sh b/build-all.sh index 68fecec..d13827a 100755 --- a/build-all.sh +++ b/build-all.sh @@ -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 diff --git a/strip-llvm.sh b/strip-llvm.sh index 99fb2d7..56a7362 100755 --- a/strip-llvm.sh +++ b/strip-llvm.sh @@ -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