1
Fork 0

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)
This commit is contained in:
bors 2016-11-28 21:44:44 -06:00 committed by GitHub
commit 5de15be5ec

View file

@ -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();