Skip to content

Commit

Permalink
Auto merge of #38046 - rkruppe:fix-32bit-rustbuild, r=alexcrichton
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
bors authored Nov 29, 2016
2 parents 1c44857 + 02249e8 commit 5de15be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcompiler_builtins/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5de15be

Please sign in to comment.