Skip to content

Commit

Permalink
Merge branch 'main' into unittest_svnn_and_legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
linh2931 authored May 16, 2024
2 parents bb771e4 + 22d970f commit 3846aa0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions libraries/libfc/secp256k1/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ add_library(secp256k1-internal INTERFACE)
target_include_directories(secp256k1-internal INTERFACE secp256k1/src)

target_compile_definitions(secp256k1-internal INTERFACE ENABLE_MODULE_RECOVERY=1
ECMULT_GEN_PREC_BITS=4
ENABLE_MODULE_EXTRAKEYS=1
COMB_BLOCKS=11
COMB_TEETH=6
ECMULT_WINDOW_SIZE=15
SECP256K1_STATIC=1)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL amd64)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64)
target_compile_definitions(secp256k1-internal INTERFACE USE_ASM_X86_64=1)
endif()

Expand Down
2 changes: 1 addition & 1 deletion libraries/libfc/secp256k1/secp256k1

0 comments on commit 3846aa0

Please sign in to comment.