Merge pull request #5339

9f49722c Fix build on FreeBSD (Nathan Dorfman)
This commit is contained in:
Riccardo Spagni 2019-04-01 17:37:14 +02:00
commit 0eb2c7b272
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -49,7 +49,7 @@ set(crypto_sources
CryptonightR_JIT.c
tree-hash.c)
if(ARCH_ID STREQUAL "i386" OR ARCH_ID STREQUAL "x86_64" OR ARCH_ID STREQUAL "x86-64")
if(ARCH_ID STREQUAL "i386" OR ARCH_ID STREQUAL "x86_64" OR ARCH_ID STREQUAL "x86-64" OR ARCH_ID STREQUAL "amd64")
list(APPEND crypto_sources CryptonightR_template.S)
endif()