1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

net-p2p/monero-cli: fix build on powerpc64le

c++: error: unsupported option '-maes' for target 'powerpc64le-unknown-freebsd14.1'
This commit is contained in:
Piotr Kubaj 2024-06-19 23:20:06 +02:00
parent 3a6b9c0c0a
commit a8aa3465d5

View File

@ -0,0 +1,11 @@
--- CMakeLists.txt.orig 2024-06-19 20:56:45 UTC
+++ CMakeLists.txt
@@ -303,7 +303,7 @@ endif()
set(ARCH "armv8-a")
endif()
-if(ARCH_ID STREQUAL "ppc64le")
+if(ARCH_ID STREQUAL "powerpc64le" OR ARCH_ID STREQUAL "ppc64le")
set(PPC64LE 1)
set(PPC64 0)
set(PPC 0)