diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-02-03 22:18:32 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-02-03 22:18:32 -0800 |
| commit | f98f6c717a6e709b9f0edd3cf0ea4f18e2ca9767 (patch) | |
| tree | be7381585575d9cb64d8632876fbe4e221d13cf2 /src/rustllvm/RustWrapper.cpp | |
| parent | c781fc4a6a8af287f7abe141f035a638bc0165c3 (diff) | |
| download | rust-f98f6c717a6e709b9f0edd3cf0ea4f18e2ca9767.tar.gz rust-f98f6c717a6e709b9f0edd3cf0ea4f18e2ca9767.zip | |
Pass -fPIC to native compiles on 32-bit
This is apparently a regression from 1.14.0 to 1.15.0. Previously we passed `-fPIC` to C compilers on i686 targets, but the `gcc` crate apparently [explicitly] didn't do this. I don't recall why that was avoided but it was [previously passed by the makefiles][mk] and this seems to have [caused a regression][regression] in Firefox, so this commit reverts back to passing `-fPIC`. [explicitly]: https://github.com/alexcrichton/gcc-rs/commit/362bdf20 [mk]: https://github.com/rust-lang/rust/blob/c781fc4a/mk/cfg/i686-unknown-linux-gnu.mk#L11 [regression]: https://bugzilla.mozilla.org/show_bug.cgi?id=1336155
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
