summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/clang/scripts/update.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py
index 7b6ebcf..503148b 100755
--- a/tools/clang/scripts/update.py
+++ b/tools/clang/scripts/update.py
@@ -446,6 +446,8 @@ def UpdateClang(args):
'-DLLVM_ENABLE_ASSERTIONS=ON',
'-DLLVM_ENABLE_THREADS=OFF',
'-DLLVM_ENABLE_TIMESTAMPS=OFF',
+ # Statically link MSVCRT to avoid DLL dependencies.
+ '-DLLVM_USE_CRT_RELEASE=MT',
]
if args.bootstrap: