Don't build Rx_linux.cpp on ARM.

This commit is contained in:
XMRig 2019-12-11 21:20:37 +07:00
parent 96ee721d21
commit 1c58e28124
No known key found for this signature in database
GPG key ID: 446A53638BE94409
2 changed files with 2 additions and 2 deletions

View file

@ -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()

View file

@ -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 &)
{
}