Skip to content

Commit fbf5195

Browse files
authored
Merge pull request #119 from alexcrichton/hidden
Define VISIBILITY_HIDDEN when compiling objects
2 parents 40637ab + 24d4907 commit fbf5195

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ fn main() {
7878
cfg.flag("-fvisibility=hidden");
7979
cfg.flag("-fomit-frame-pointer");
8080
cfg.flag("-ffreestanding");
81+
cfg.define("VISIBILITY_HIDDEN", None);
8182
}
8283

8384
// NOTE Most of the ARM intrinsics are written in assembly. Tell gcc which arch we are going to

0 commit comments

Comments
 (0)