Commit 71ccd103 authored by Johann's avatar Johann
Browse files

Set 'private_extern' visibility for macho targets

Do not set it when building with 'nasm'

Change-Id: Iff2acf22543f5899f6eefa7624821cc6270a0923
parent 1be46ef6
......@@ -13,3 +13,4 @@ Prefix functions with vpx by default.
Manage name mangling (prefixing with '_') manually because 'PREFIX' does not
exist in libvpx.
Expand PIC default to macho64 and respect CONFIG_PIC from libvpx
Set 'private_extern' visibility for macho targets.
......@@ -75,6 +75,13 @@
%define FORMAT_ELF 1
%define FORMAT_MACHO 0
%ifidn __OUTPUT_FORMAT__,macho32
%define FORMAT_MACHO 1
%elifidn __OUTPUT_FORMAT__,macho64
%define FORMAT_MACHO 1
; Set PREFIX for libvpx builds.
%undef PREFIX
......@@ -709,6 +716,12 @@ BRANCH_INSTR jz, je, jnz, jne, jl, jle, jnl, jnle, jg, jge, jng, jnge, ja, jae,
%xdefine current_function_section __SECT__
global %2:function %%VISIBILITY
%ifdef __NASM_VER__
global %2
global %2:private_extern
global %2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment