diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2017-02-25 14:13:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-25 14:13:30 +0200 |
| commit | 411d8e95dbbe8d7de1ea9ca6b95abf95f8c49e38 (patch) | |
| tree | 3bc4116d281a08af61df8c4871fe5d047f9aeb51 /src/bootstrap | |
| parent | 5c0b4b369167060aa73368374d48a7de6c812376 (diff) | |
| parent | 9a08f40349c3c3182845b31b1d7a26b7af5245a3 (diff) | |
| download | rust-411d8e95dbbe8d7de1ea9ca6b95abf95f8c49e38.tar.gz rust-411d8e95dbbe8d7de1ea9ca6b95abf95f8c49e38.zip | |
Rollup merge of #40019 - alexcrichton:fix-musl, r=brson
travis: Compile a more compatible libc.a for musl The mitigations for #34978 involve passing `-Wa,-mrelax-relocations=no` to all C code we compile, and we just forgot to pass it when compiling musl itself. Closes #39979
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/lib.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index a28cb24a816..2b34142b3b0 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -832,17 +832,6 @@ impl Build { if target.contains("apple-darwin") { base.push("-stdlib=libc++".into()); } - // This is a hack, because newer binutils broke things on some vms/distros - // (i.e., linking against unknown relocs disabled by the following flag) - // See: https://github.com/rust-lang/rust/issues/34978 - match target { - "i586-unknown-linux-gnu" | - "i686-unknown-linux-musl" | - "x86_64-unknown-linux-musl" => { - base.push("-Wa,-mrelax-relocations=no".into()); - }, - _ => {}, - } return base } |
