Updated build

This commit is contained in:
MoneroOcean 2025-06-16 19:59:42 -07:00
parent 60895ccec9
commit c13d0d7d79
6 changed files with 11 additions and 11 deletions

View file

@ -1,7 +1,7 @@
if (WITH_RANDOMX)
include(CheckSymbolExists)
if (WIN32)
if (WIN32 OR CMAKE_SYSTEM_NAME MATCHES "MSYS")
check_symbol_exists(_aligned_malloc "stdlib.h" HAVE_ALIGNED_MALLOC)
if (HAVE_ALIGNED_MALLOC)
add_compile_definitions(HAVE_ALIGNED_MALLOC)
@ -54,8 +54,8 @@ if (WITH_RANDOMX)
src/crypto/rx/RxDataset.cpp
src/crypto/rx/RxQueue.cpp
src/crypto/rx/RxVm.cpp
### Removed useless includes
### Removed useless includes
src/crypto/randomx/panthera/sha256.c
src/crypto/randomx/panthera/KangarooTwelve.c
src/crypto/randomx/panthera/KeccakP-1600-reference.c