Define VISIBILITY_HIDDEN when compiling compiler-rt
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:
parent
29abe6f9e8
commit
02249e813e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user