Skip to content

Commit 1163f2c

Browse files
committedMay 13, 2017
Pass static crt to llvm cmake configuration
1 parent 77f1bec commit 1163f2c

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed
 

‎src/Cargo.lock

+17-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/bootstrap/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ test = false
3030

3131
[dependencies]
3232
build_helper = { path = "../build_helper" }
33-
cmake = "0.1.17"
33+
cmake = "0.1.23"
3434
filetime = "0.1"
3535
num_cpus = "1.0"
3636
toml = "0.1"
3737
getopts = "0.2"
3838
rustc-serialize = "0.3"
39-
gcc = "0.3.38"
39+
gcc = "0.3.46"
4040
libc = "0.2"

‎src/bootstrap/native.rs

+1
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ pub fn llvm(build: &Build, target: &str) {
108108
cfg.define("LLVM_USE_CRT_DEBUG", "MT");
109109
cfg.define("LLVM_USE_CRT_RELEASE", "MT");
110110
cfg.define("LLVM_USE_CRT_RELWITHDEBINFO", "MT");
111+
cfg.static_crt(true);
111112
}
112113

113114
if target.starts_with("i686") {

0 commit comments

Comments
 (0)
Please sign in to comment.