projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b0422a
)
nasm: require 2.14 with -DCHROMIUM
author
Johann
<johannkoenig@google.com>
Tue, 31 Mar 2020 06:35:24 +0000
(15:35 +0900)
committer
Johann
<johannkoenig@google.com>
Tue, 31 Mar 2020 06:36:39 +0000
(15:36 +0900)
BUG=webm:1679
Change-Id: I75b1f860d111febf0aabe38b89d845ef296728a4
vpx_ports/x86_abi_support.asm
patch
|
blob
|
history
diff --git
a/vpx_ports/x86_abi_support.asm
b/vpx_ports/x86_abi_support.asm
index
708fa10
..
dcdc1f8
100644
(file)
--- a/
vpx_ports/x86_abi_support.asm
+++ b/
vpx_ports/x86_abi_support.asm
@@
-119,6
+119,13
@@
; http://www.tortall.net/projects/yasm/ticket/236
;
%ifdef CHROMIUM
+ %ifdef __NASM_VER__
+ %if __NASM_VERSION_ID__ < 0x020e0000 ; 2.14
+ ; nasm < 2.14 does not support :private_extern directive
+ %fatal Must use nasm 2.14 or newer
+ %endif
+ %endif
+
%ifidn __OUTPUT_FORMAT__,elf32
%define PRIVATE :hidden
%elifidn __OUTPUT_FORMAT__,elf64