Skip to content

Commit

Permalink
Hook i386 crypto_cpu_caps to build
Browse files Browse the repository at this point in the history
  • Loading branch information
botovq committed Oct 18, 2024
1 parent cca1d39 commit 9256f9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ endif()

if(HOST_X86_64)
set(CRYPTO_SRC ${CRYPTO_SRC} arch/amd64/crypto_cpu_caps.c)
if(HOST_I386)
set(CRYPTO_SRC ${CRYPTO_SRC} arch/i386/crypto_cpu_caps.c)
endif()

set(
Expand Down
3 changes: 3 additions & 0 deletions crypto/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ endif
if HOST_X86_64
libcrypto_la_SOURCES += arch/amd64/crypto_cpu_caps.c
endif
if HOST_I386
libcrypto_la_SOURCES += arch/i386/crypto_cpu_caps.c
endif

libcrypto_la_SOURCES += cpt_err.c
libcrypto_la_SOURCES += cryptlib.c
Expand Down

0 comments on commit 9256f9f

Please sign in to comment.