Hide symbols names when building for mac/arm64
This matches the `.hidden` already used for ELF outputs. This is needed for Chromium's mac/arm64 build. Chromium has a build step that verifies that Chromium Framework only exports a small, fixed set of symbols. The dav1d symbols showed up unexpectedly. This fixes that.
This commit is contained in:
@@ -94,6 +94,8 @@
|
||||
#ifdef __ELF__
|
||||
.type EXTERN\name, %function
|
||||
.hidden EXTERN\name
|
||||
#elif defined(__MACH__)
|
||||
.private_extern EXTERN\name
|
||||
#endif
|
||||
#if HAVE_AS_FUNC
|
||||
.func EXTERN\name
|
||||
|
||||
Reference in New Issue
Block a user