diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2016-03-04 14:17:29 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2016-03-04 14:17:29 -0500 |
| commit | 1f0d928de88f2e87512bfff4f61c663eca10e712 (patch) | |
| tree | ccb293485ca169906ece8b484a5577adae630130 /src/libstd | |
| parent | 805daa11b0b0c335815fe6d7914e97ae970c63c8 (diff) | |
| parent | ddd2e99d0235b968fffab9e6ae94c660a1fb85de (diff) | |
| download | rust-1f0d928de88f2e87512bfff4f61c663eca10e712.tar.gz rust-1f0d928de88f2e87512bfff4f61c663eca10e712.zip | |
Rollup merge of #32027 - japaric:rustbuild-mips, r=alexcrichton
These targets don't link statically to libunwind or libc --- r? @alexcrichton
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/build.rs b/src/libstd/build.rs index a1144a964fd..c60ec4d3655 100644 --- a/src/libstd/build.rs +++ b/src/libstd/build.rs @@ -28,7 +28,7 @@ fn main() { } if target.contains("unknown-linux") { - if target.contains("musl") { + if target.contains("musl") && target.contains("x86_64") { println!("cargo:rustc-link-lib=static=unwind"); } else { println!("cargo:rustc-link-lib=dl"); |
