diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-02-21 19:14:19 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-05 10:24:24 +0000 |
commit | 1b8757dddcba80d15962b149f9f158b1b5bf8b56 (patch) | |
tree | d9c696f2931ffc20943f61b325eb5226c4ca77fa /src/crypto/CMakeLists.txt | |
parent | cmake: ARCH_ID fixes for cross compilation (diff) | |
download | monero-1b8757dddcba80d15962b149f9f158b1b5bf8b56.tar.xz |
slow-hash: fix build on arm
Diffstat (limited to 'src/crypto/CMakeLists.txt')
-rw-r--r-- | src/crypto/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/crypto/CMakeLists.txt b/src/crypto/CMakeLists.txt index 5ce43be22..6e774b8d5 100644 --- a/src/crypto/CMakeLists.txt +++ b/src/crypto/CMakeLists.txt @@ -46,9 +46,12 @@ set(crypto_sources skein.c slow-hash.c CryptonightR_JIT.c - CryptonightR_template.S tree-hash.c) +if(ARCH_ID STREQUAL "i386" OR ARCH_ID STREQUAL "x86_64" OR ARCH_ID STREQUAL "x86-64") +list(APPEND crypto_sources CryptonightR_template.S) +endif() + set(crypto_headers) set(crypto_private_headers |