build: Fix for mac nasm lack of symbol types

Change-Id: I9ee86a3e32876d3860477c8365fc459d94a8920e
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
Greg Tucker
2018-11-27 14:41:24 -07:00
parent 86c865b784
commit 2e212f28fa
80 changed files with 94 additions and 84 deletions

View File

@@ -208,8 +208,18 @@ section .text
%endif
%ifidn __OUTPUT_FORMAT__, macho64
%define elf64 macho64
mac_equ equ 1
%define elf64 macho64
mac_equ equ 1
%ifdef __NASM_VER__
%define ISAL_SYM_TYPE_FUNCTION
%define ISAL_SYM_TYPE_DATA_INTERNAL
%else
%define ISAL_SYM_TYPE_FUNCTION function
%define ISAL_SYM_TYPE_DATA_INTERNAL data internal
%endif
%else
%define ISAL_SYM_TYPE_FUNCTION function
%define ISAL_SYM_TYPE_DATA_INTERNAL data internal
%endif
%macro slversion 4