Allow overriding default llvm and msvcrt versions.

build-mingw-w64.sh already provides --with-default-msvcrt option, but
this makes it more convenient to use build-all.sh with non-default
msvcrt config.
This commit is contained in:
Jacek Caban authored and Martin Storsjö committed 2019-12-19 22:18:22 +02:00
1 parent f7fd04dd42
commit f862f91c1c
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@
set -e
: ${LLVM_VERSION:=llvmorg-9.0.0}
ASSERTS=OFF
BUILDDIR=build
unset HOST
@@ -51,7 +52,7 @@ fi
if [ -n "$SYNC" ] || [ -n "$CHECKOUT" ]; then
cd llvm-project
[ -z "$SYNC" ] || git fetch
git checkout llvmorg-9.0.0
git checkout $LLVM_VERSION
cd ..
fi