diff options
| author | Brian Anderson <banderson@mozilla.com> | 2016-08-30 22:56:26 +0000 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2016-09-30 14:02:42 -0700 |
| commit | 1231ce33db8ea6f782df1fb016198e07d6efa3d7 (patch) | |
| tree | 59a50e4804ab2df5cfee20aadb1fb2e145d3faed /src | |
| parent | 86fd661bcbf84f8f387b824d05f4803fc00ee34f (diff) | |
| download | rust-1231ce33db8ea6f782df1fb016198e07d6efa3d7.tar.gz rust-1231ce33db8ea6f782df1fb016198e07d6efa3d7.zip | |
Support emscripten in rustbuild
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 3d1cf47cb7e..80726951ad8 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -975,7 +975,7 @@ impl Build { // than an entry here. let mut base = Vec::new(); - if target != self.config.build && !target.contains("msvc") { + if target != self.config.build && !target.contains("msvc") && !target.contains("emscripten") { base.push(format!("-Clinker={}", self.cc(target).display())); } return base |
