Linux: Fix assembly files not built on Linux

This is a regression caused by macOS changes. And endif statement was misplaced.
This commit is contained in:
Mounir IDRASSI 2024-06-19 09:02:31 +02:00
parent 779d755eac
commit c370d4887c
No known key found for this signature in database
GPG Key ID: FC1B00364B3FE937

View File

@ -52,6 +52,7 @@ ifneq "$(COMPILE_ASM)" "false"
OBJSEX += ../Crypto/sha512_avx1.oo OBJSEX += ../Crypto/sha512_avx1.oo
OBJSEX += ../Crypto/sha512_avx2.oo OBJSEX += ../Crypto/sha512_avx2.oo
OBJSEX += ../Crypto/sha512_sse4.oo OBJSEX += ../Crypto/sha512_sse4.oo
endif
else ifeq "$(CPU_ARCH)" "x86" else ifeq "$(CPU_ARCH)" "x86"
OBJS += ../Crypto/Aes_x86.o OBJS += ../Crypto/Aes_x86.o
ifeq "$(DISABLE_AESNI)" "0" ifeq "$(DISABLE_AESNI)" "0"
@ -77,7 +78,6 @@ else ifeq "$(CPU_ARCH)" "x64"
else else
OBJS += ../Crypto/Aescrypt.o OBJS += ../Crypto/Aescrypt.o
endif endif
endif
ifeq "$(GCC_GTEQ_430)" "1" ifeq "$(GCC_GTEQ_430)" "1"
OBJSSSE41 += ../Crypto/blake2s_SSE41.osse41 OBJSSSE41 += ../Crypto/blake2s_SSE41.osse41