Merge pull request #119 from alexcrichton/hidden
Define VISIBILITY_HIDDEN when compiling objects
This commit is contained in:
commit
fbf5195afb
1
build.rs
1
build.rs
|
@ -78,6 +78,7 @@ fn main() {
|
||||||
cfg.flag("-fvisibility=hidden");
|
cfg.flag("-fvisibility=hidden");
|
||||||
cfg.flag("-fomit-frame-pointer");
|
cfg.flag("-fomit-frame-pointer");
|
||||||
cfg.flag("-ffreestanding");
|
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
|
// NOTE Most of the ARM intrinsics are written in assembly. Tell gcc which arch we are going to
|
||||||
|
|
Loading…
Reference in New Issue