Define VISIBILITY_HIDDEN when compiling objects
Apparently compiler-rt passed this and we just forgot to. Fixes visibility of some symbols on 32-bit Linux.
This commit is contained in:
parent
1a611e584f
commit
865ed6f133
1 changed files with 1 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ fn main() {
|
|||
cfg.flag("-fvisibility=hidden");
|
||||
cfg.flag("-fomit-frame-pointer");
|
||||
cfg.flag("-ffreestanding");
|
||||
cfg.define("VISIBILITY_HIDDEN", None);
|
||||
}
|
||||
|
||||
// NOTE Most of the ARM intrinsics are written in assembly. Tell gcc which arch we are going to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue