Fix bug when cmake android and CMAKE_BUILD_TYPE=Release, see comments:
The presence of "filter" from crypto1.c as an exported function depends on the chosen compilation optimization level. So if the common/crapto1/ and the code using it (here hardnested) are not using the same level, there will be a mismatch, in this case hardnested_bruteforce.c expecting crypto1.c to provide filter()
This commit is contained in:
@@ -107,6 +107,7 @@ add_library(pm3rrg_rdv4_hardnested STATIC
|
||||
hardnested/hardnested_bruteforce.c
|
||||
$<TARGET_OBJECTS:pm3rrg_rdv4_hardnested_nosimd>
|
||||
${SIMD_TARGETS})
|
||||
target_compile_options(pm3rrg_rdv4_hardnested PRIVATE -Wall -Werror -O3)
|
||||
set_property(TARGET pm3rrg_rdv4_hardnested PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
target_include_directories(pm3rrg_rdv4_hardnested PRIVATE
|
||||
../../common
|
||||
|
||||
Reference in New Issue
Block a user