aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/CMakeLists.txt4
-rw-r--r--crypto/Makefile.am3
2 files changed, 6 insertions, 1 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index a2b06d3..cf85036 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -180,7 +180,9 @@ if(HOST_ASM_MINGW64_X86_64)
180 set(CRYPTO_SRC ${CRYPTO_SRC} ${ASM_X86_64_MINGW64_SRC}) 180 set(CRYPTO_SRC ${CRYPTO_SRC} ${ASM_X86_64_MINGW64_SRC})
181endif() 181endif()
182 182
183if(HOST_X86_64) 183if(HOST_AARCH64)
184 set(CRYPTO_SRC ${CRYPTO_SRC} arch/aarch64/crypto_cpu_caps.c)
185elseif(HOST_X86_64)
184 set(CRYPTO_SRC ${CRYPTO_SRC} arch/amd64/crypto_cpu_caps.c) 186 set(CRYPTO_SRC ${CRYPTO_SRC} arch/amd64/crypto_cpu_caps.c)
185elseif(HOST_I386) 187elseif(HOST_I386)
186 set(CRYPTO_SRC ${CRYPTO_SRC} arch/i386/crypto_cpu_caps.c) 188 set(CRYPTO_SRC ${CRYPTO_SRC} arch/i386/crypto_cpu_caps.c)
diff --git a/crypto/Makefile.am b/crypto/Makefile.am
index f601ec9..9df0a2e 100644
--- a/crypto/Makefile.am
+++ b/crypto/Makefile.am
@@ -202,6 +202,9 @@ endif
202endif 202endif
203endif 203endif
204 204
205if HOST_AARCH64
206libcrypto_la_SOURCES += arch/aarch64/crypto_cpu_caps.c
207endif
205if HOST_X86_64 208if HOST_X86_64
206libcrypto_la_SOURCES += arch/amd64/crypto_cpu_caps.c 209libcrypto_la_SOURCES += arch/amd64/crypto_cpu_caps.c
207endif 210endif