Use libvpx defines to set name mangling rules
Change-Id: Ie5dbfe73bdb6132047f9ab7d5716714d50befea5
This commit is contained in:
parent
2d6393a98d
commit
4de9641f1a
2
third_party/x86inc/README.libvpx
vendored
2
third_party/x86inc/README.libvpx
vendored
@ -10,3 +10,5 @@ defines that help automatically allow assembly to work cross-platform.
|
||||
Local Modifications:
|
||||
Get configuration from vpx_config.asm.
|
||||
Prefix functions with vpx by default.
|
||||
Manage name mangling (prefixing with '_') manually because 'PREFIX' does not
|
||||
exist in libvpx.
|
||||
|
9
third_party/x86inc/x86inc.asm
vendored
9
third_party/x86inc/x86inc.asm
vendored
@ -75,6 +75,15 @@
|
||||
%define FORMAT_ELF 1
|
||||
%endif
|
||||
|
||||
; Set PREFIX for libvpx builds.
|
||||
%if FORMAT_ELF
|
||||
%undef PREFIX
|
||||
%elif WIN64
|
||||
%undef PREFIX
|
||||
%else
|
||||
%define PREFIX
|
||||
%endif
|
||||
|
||||
%ifdef PREFIX
|
||||
%define mangle(x) _ %+ x
|
||||
%else
|
||||
|
Loading…
Reference in New Issue
Block a user