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:
1 parent
f7fd04dd42
commit
f862f91c1c
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
: ${LLVM_VERSION:=llvmorg-9.0.0}
|
||||||
ASSERTS=OFF
|
ASSERTS=OFF
|
||||||
BUILDDIR=build
|
BUILDDIR=build
|
||||||
unset HOST
|
unset HOST
|
||||||
@@ -51,7 +52,7 @@ fi
|
|||||||
if [ -n "$SYNC" ] || [ -n "$CHECKOUT" ]; then
|
if [ -n "$SYNC" ] || [ -n "$CHECKOUT" ]; then
|
||||||
cd llvm-project
|
cd llvm-project
|
||||||
[ -z "$SYNC" ] || git fetch
|
[ -z "$SYNC" ] || git fetch
|
||||||
git checkout llvmorg-9.0.0
|
git checkout $LLVM_VERSION
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
DEFAULT_WIN32_WINNT=0x601
|
DEFAULT_WIN32_WINNT=0x601
|
||||||
DEFAULT_MSVCRT=ucrt
|
: ${DEFAULT_MSVCRT:=ucrt}
|
||||||
unset HOST
|
unset HOST
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
|
|||||||
Reference in new issue
Block a user