Automatically set EXEEXT in build-mingw-w64.sh and strip-llvm.sh
This commit is contained in:
1 parent
9e7a6e0afb
commit
1f838437ca
2 files changed
+16
No files matched your search
@@ -99,6 +99,14 @@ if [ -n "$HOST" ]; then
|
||||
CONFIGFLAGS="$CONFIGFLAGS --host=$HOST"
|
||||
CROSS_NAME=$HOST-
|
||||
EXEEXT=.exe
|
||||
else
|
||||
case $(uname) in
|
||||
MINGW*)
|
||||
EXEEXT=.exe
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ -n "$SKIP_INCLUDE_TRIPLET_PREFIX" ]; then
|
||||
CONFIGFLAGS="$CONFIGFLAGS --with-widl-includedir=$PREFIX/include"
|
||||
|
||||
@@ -9,6 +9,14 @@ fi
|
||||
PREFIX="$1"
|
||||
cd "$PREFIX"
|
||||
|
||||
case $(uname) in
|
||||
MINGW*)
|
||||
EXEEXT=.exe
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
cd bin
|
||||
for i in bugpoint c-index-test clang-* diagtool dsymutil git-clang-format hmaptool ld64.lld llc lli llvm-* obj2yaml opt sancov sanstats scan-build scan-view verify-uselistorder wasm-ld yaml2obj libclang.dll LTO.dll *.bat; do
|
||||
basename=$i
|
||||
|
||||
Reference in new issue
Block a user