move endbr64 removal to preprocessor

This commit is contained in:
Brent Cook
2023-07-03 16:34:38 +03:00
parent 559f40996a
commit 11dfc90f83
3 changed files with 2 additions and 9 deletions

View File

@@ -111,6 +111,7 @@ if(HOST_ASM_MACOSX_X86_64)
bn/arch/amd64/word_clz.S
bn/arch/amd64/bn_arch.c
)
add_definitions(-Dendbr64)
add_definitions(-DAES_ASM)
add_definitions(-DBSAES_ASM)
add_definitions(-DVPAES_ASM)