Pass static crt to llvm cmake configuration

This commit is contained in:
Liran Ringel
2017-05-13 17:12:19 +02:00
parent 77f1bec6f5
commit 1163f2cc23
3 changed files with 20 additions and 19 deletions

View File

@@ -108,6 +108,7 @@ pub fn llvm(build: &Build, target: &str) {
cfg.define("LLVM_USE_CRT_DEBUG", "MT");
cfg.define("LLVM_USE_CRT_RELEASE", "MT");
cfg.define("LLVM_USE_CRT_RELWITHDEBINFO", "MT");
cfg.static_crt(true);
}
if target.starts_with("i686") {