diff options
| author | bors <bors@rust-lang.org> | 2016-11-28 21:44:44 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-28 21:44:44 -0600 |
| commit | 5de15be5ec9144f6701c8de606fdf83c6eefefef (patch) | |
| tree | 62b3095aeccb1d28247f665e8c45e166775e45af /src | |
| parent | 1c448574bc668b0de70ed75223bf8798d17bf058 (diff) | |
| parent | 02249e813ebb93d41f1a745a2836212ec8f68c8f (diff) | |
| download | rust-5de15be5ec9144f6701c8de606fdf83c6eefefef.tar.gz rust-5de15be5ec9144f6701c8de606fdf83c6eefefef.zip | |
Auto merge of #38046 - rkruppe:fix-32bit-rustbuild, r=alexcrichton
Fix rustbuild on 32 bit Linux This is cherry-picked from #37817 which seems to be stalled and currently needs to be rebased anyway. r? @alexcrichton (who authored this change)
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcompiler_builtins/build.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcompiler_builtins/build.rs b/src/libcompiler_builtins/build.rs index acbd39bb163..f61e2281a5c 100644 --- a/src/libcompiler_builtins/build.rs +++ b/src/libcompiler_builtins/build.rs @@ -94,6 +94,7 @@ fn main() { cfg.flag("-fvisibility=hidden"); cfg.flag("-fomit-frame-pointer"); cfg.flag("-ffreestanding"); + cfg.define("VISIBILITY_HIDDEN", None); } let mut sources = Sources::new(); |
