ref: 667138e1f0581772de2b990e144bcd6c49a6adb8
parent: 39f6b4c960a5849ab272957f48e2856ef375a877
parent: b3d12b3c7fe4b12f4dee68d0f15dfb2c825c867e
author: Johann Koenig <[email protected]>
date: Tue Mar 31 19:41:42 EDT 2020
Merge "nasm: require 2.14 with -DCHROMIUM"
--- 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