diff options
author | Theo Buehler <tb@openbsd.org> | 2024-10-18 10:51:36 -0600 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-10-18 10:51:36 -0600 |
commit | 9256f9f939cb7afcb679d6625621be39ea636ec0 (patch) | |
tree | 84188336e4a0612b36e91e48bba4e0423094a125 /crypto | |
parent | cca1d39f2830337ed285fe079df315eedc38cbef (diff) | |
download | portable-9256f9f939cb7afcb679d6625621be39ea636ec0.tar.gz portable-9256f9f939cb7afcb679d6625621be39ea636ec0.tar.bz2 portable-9256f9f939cb7afcb679d6625621be39ea636ec0.zip |
Hook i386 crypto_cpu_caps to build
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/CMakeLists.txt | 2 | ||||
-rw-r--r-- | crypto/Makefile.am | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 0e3f3f0..2b9b06e 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
@@ -186,6 +186,8 @@ endif() | |||
186 | 186 | ||
187 | if(HOST_X86_64) | 187 | if(HOST_X86_64) |
188 | set(CRYPTO_SRC ${CRYPTO_SRC} arch/amd64/crypto_cpu_caps.c) | 188 | set(CRYPTO_SRC ${CRYPTO_SRC} arch/amd64/crypto_cpu_caps.c) |
189 | if(HOST_I386) | ||
190 | set(CRYPTO_SRC ${CRYPTO_SRC} arch/i386/crypto_cpu_caps.c) | ||
189 | endif() | 191 | endif() |
190 | 192 | ||
191 | set( | 193 | set( |
diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 7036509..0dc981b 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am | |||
@@ -205,6 +205,9 @@ endif | |||
205 | if HOST_X86_64 | 205 | if HOST_X86_64 |
206 | libcrypto_la_SOURCES += arch/amd64/crypto_cpu_caps.c | 206 | libcrypto_la_SOURCES += arch/amd64/crypto_cpu_caps.c |
207 | endif | 207 | endif |
208 | if HOST_I386 | ||
209 | libcrypto_la_SOURCES += arch/i386/crypto_cpu_caps.c | ||
210 | endif | ||
208 | 211 | ||
209 | libcrypto_la_SOURCES += cpt_err.c | 212 | libcrypto_la_SOURCES += cpt_err.c |
210 | libcrypto_la_SOURCES += cryptlib.c | 213 | libcrypto_la_SOURCES += cryptlib.c |