diff --git a/cmake/randomx.cmake b/cmake/randomx.cmake index 5a225c00..74f4048e 100644 --- a/cmake/randomx.cmake +++ b/cmake/randomx.cmake @@ -79,7 +79,7 @@ if (WITH_RANDOMX) ) endif() - if (XMRIG_OS_LINUX) + if (XMRIG_OS_LINUX AND NOT XMRIG_ARM) list(APPEND SOURCES_CRYPTO src/crypto/rx/Rx_linux.cpp) endif() else() diff --git a/src/crypto/rx/Rx.cpp b/src/crypto/rx/Rx.cpp index 1de648c2..f6685fbf 100644 --- a/src/crypto/rx/Rx.cpp +++ b/src/crypto/rx/Rx.cpp @@ -115,7 +115,7 @@ void xmrig::Rx::init(IRxListener *listener) } -#ifndef XMRIG_OS_LINUX +#if !defined(XMRIG_OS_LINUX) || defined(XMRIG_ARM) void xmrig::Rx::osInit(const RxConfig &) { }