Change-Id: Ic8c07cc02c80953920f5f86b426a55114ea2cc44
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
%if WIN64
%define PIC
+%elifidn __OUTPUT_FORMAT__,macho64
+ %define PIC
%elif ARCH_X86_64 == 0
; x86_32 doesn't require PIC.
; Some distros prefer shared objects to be PIC, but nothing breaks if
; the code contains a few textrels, so we'll skip that complexity.
%undef PIC
+%elif CONFIG_PIC
+ %define PIC
%endif
%ifdef PIC
default rel