Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yushin Cho
aom-rav1e
Commits
89ba55ed
Commit
89ba55ed
authored
Jul 28, 2015
by
Johann
Browse files
Expand PIC default to macho64 and respect CONFIG_PIC from libvpx
Change-Id: Ic8c07cc02c80953920f5f86b426a55114ea2cc44
parent
25a24347
Changes
2
Hide whitespace changes
Inline
Side-by-side
third_party/x86inc/README.libvpx
View file @
89ba55ed
...
@@ -12,3 +12,4 @@ Get configuration from vpx_config.asm.
...
@@ -12,3 +12,4 @@ Get configuration from vpx_config.asm.
Prefix functions with vpx by default.
Prefix functions with vpx by default.
Manage name mangling (prefixing with '_') manually because 'PREFIX' does not
Manage name mangling (prefixing with '_') manually because 'PREFIX' does not
exist in libvpx.
exist in libvpx.
Expand PIC default to macho64 and respect CONFIG_PIC from libvpx
third_party/x86inc/x86inc.asm.new
View file @
89ba55ed
...
@@ -88,11 +88,15 @@
...
@@ -88,11 +88,15 @@
%if WIN64
%if WIN64
%define PIC
%define PIC
%elifidn __OUTPUT_FORMAT__,macho64
%define PIC
%elif ARCH_X86_64 == 0
%elif ARCH_X86_64 == 0
; x86_32 doesn't require PIC.
; x86_32 doesn't require PIC.
; Some distros prefer shared objects to be PIC, but nothing breaks if
; Some distros prefer shared objects to be PIC, but nothing breaks if
; the code contains a few textrels, so we'll skip that complexity.
; the code contains a few textrels, so we'll skip that complexity.
%undef PIC
%undef PIC
%elif CONFIG_PIC
%define PIC
%endif
%endif
%ifdef PIC
%ifdef PIC
default rel
default rel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment