Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-p2p/monero-cli: fix build on i386
This crypto code is for amd64 only. Don't attempt to build it on i386. Approved by: portmgr (build fix blanket)
- Loading branch information
1 parent
d3566f3
commit 362ade4
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/crypto/CMakeLists.txt.orig 2023-10-23 03:21:28 UTC | ||
+++ src/crypto/CMakeLists.txt | ||
@@ -50,7 +50,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" OR ARCH_ID STREQUAL "amd64") | ||
+if(ARCH_ID STREQUAL "x86_64" OR ARCH_ID STREQUAL "x86-64" OR ARCH_ID STREQUAL "amd64") | ||
list(APPEND crypto_sources CryptonightR_template.S) | ||
endif() | ||
|