add CPU checks, include initial bn_arch.h headers

This commit is contained in:
Brent Cook
2023-02-14 02:52:10 -06:00
parent d36629044d
commit 20fb2bdb11
3 changed files with 52 additions and 9 deletions

View File

@@ -50,7 +50,4 @@ libcrypto_la_CPPFLAGS += -DSHA512_ASM
libcrypto_la_CPPFLAGS += -DWHIRLPOOL_ASM
libcrypto_la_CPPFLAGS += -DOPENSSL_CPUID_OBJ
libcrypto_la_SOURCES += $(ASM_X86_64_ELF)
# XXX - not the right place for this. It should be done depending on CPU.
libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/amd64/
endif