mirror of
https://github.com/intel/isa-l.git
synced 2025-10-28 19:51:56 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user