]> granicus.if.org Git - libvpx/commitdiff
nasm: require 2.14 with -DCHROMIUM
authorJohann <johannkoenig@google.com>
Tue, 31 Mar 2020 06:35:24 +0000 (15:35 +0900)
committerJohann <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

index 708fa101c5dd161be4b5009ba6c74adcf1070c80..dcdc1f8c3639d948b472ababd3ae2c4f451a613e 100644 (file)
 ;    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