diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-02-08 17:06:53 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-08 17:06:53 -0800 |
| commit | 021bd294c039bd54aa5c4aa85bcdffb0d24bc892 (patch) | |
| tree | 102579d8bcd7b7acc7428c4aa43752caf1f23d2b /src/bootstrap/lib.rs | |
| parent | d11639bdac67e850235b04dc7ac679d9e378b813 (diff) | |
| parent | 5a35f0273606e7172be30ac0f013be6c12f926c5 (diff) | |
| download | rust-1.15.1.tar.gz rust-1.15.1.zip | |
Merge pull request #39668 from alexcrichton/stable-next 1.15.1
[stable] More fixes for 1.15.1
Diffstat (limited to 'src/bootstrap/lib.rs')
| -rw-r--r-- | src/bootstrap/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index cd80c4298dc..71cb2895736 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -812,6 +812,11 @@ impl Build { }, _ => {}, } + + if !target.contains("windows") && target.contains("i686") { + base.push("-fPIC".into()); + } + return base } |
