about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-02-08 20:49:24 +0000
committerbors <bors@rust-lang.org>2017-02-08 20:49:24 +0000
commit29dece1c8bbebf7ae8034ef0826b119281730937 (patch)
treef2ff95baf6e695093a39c1b5cc8afb7b0cd25642 /src/rustllvm/RustWrapper.cpp
parent4379e2fa08bf31125efa1a9d8bc3c85b16e2c2f3 (diff)
parentf98f6c717a6e709b9f0edd3cf0ea4f18e2ca9767 (diff)
downloadrust-29dece1c8bbebf7ae8034ef0826b119281730937.tar.gz
rust-29dece1c8bbebf7ae8034ef0826b119281730937.zip
Auto merge of #39523 - alexcrichton:fpic, r=aturon
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