aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2025-06-16 11:04:51 -0600
committerTheo Buehler <tb@openbsd.org>2025-06-16 11:12:42 -0600
commit86376ca6610921d4707bf9d2132705b14d8e1e25 (patch)
tree7214c8d3bd0004dd84d0c592dd895b085a199c52
parent4c0fb1c6cdb53074c3f24dac2506a5c220e711cf (diff)
downloadportable-86376ca6610921d4707bf9d2132705b14d8e1e25.tar.gz
portable-86376ca6610921d4707bf9d2132705b14d8e1e25.tar.bz2
portable-86376ca6610921d4707bf9d2132705b14d8e1e25.zip
link aes_{amd64,i386}.c to build
-rw-r--r--crypto/CMakeLists.txt2
-rw-r--r--crypto/Makefile.am2
2 files changed, 4 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index 271a5d6..f6fb7d3 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -147,8 +147,10 @@ if(HOST_AARCH64)
147 endif() 147 endif()
148elseif(HOST_X86_64) 148elseif(HOST_X86_64)
149 set(CRYPTO_SRC ${CRYPTO_SRC} arch/amd64/crypto_cpu_caps.c) 149 set(CRYPTO_SRC ${CRYPTO_SRC} arch/amd64/crypto_cpu_caps.c)
150 set(CRYPTO_SRC ${CRYPTO_SRC} aes/aes_amd64.c)
150elseif(HOST_I386) 151elseif(HOST_I386)
151 set(CRYPTO_SRC ${CRYPTO_SRC} arch/i386/crypto_cpu_caps.c) 152 set(CRYPTO_SRC ${CRYPTO_SRC} arch/i386/crypto_cpu_caps.c)
153 set(CRYPTO_SRC ${CRYPTO_SRC} aes/aes_i386.c)
152endif() 154endif()
153 155
154set( 156set(
diff --git a/crypto/Makefile.am b/crypto/Makefile.am
index 0e5a916..395d528 100644
--- a/crypto/Makefile.am
+++ b/crypto/Makefile.am
@@ -239,9 +239,11 @@ endif
239 239
240if HOST_X86_64 240if HOST_X86_64
241libcrypto_la_SOURCES += arch/amd64/crypto_cpu_caps.c 241libcrypto_la_SOURCES += arch/amd64/crypto_cpu_caps.c
242libcrypto_la_SOURCES += aes/aes_amd64.c
242endif 243endif
243if HOST_I386 244if HOST_I386
244libcrypto_la_SOURCES += arch/i386/crypto_cpu_caps.c 245libcrypto_la_SOURCES += arch/i386/crypto_cpu_caps.c
246libcrypto_la_SOURCES += aes/aes_i386.c
245endif 247endif
246 248
247libcrypto_la_SOURCES += crypto_err.c 249libcrypto_la_SOURCES += crypto_err.c