aboutsummaryrefslogtreecommitdiffstats
path: root/testing/monero/fix-build-flags-for-ppc64le.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/monero/fix-build-flags-for-ppc64le.patch')
-rw-r--r--testing/monero/fix-build-flags-for-ppc64le.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/testing/monero/fix-build-flags-for-ppc64le.patch b/testing/monero/fix-build-flags-for-ppc64le.patch
deleted file mode 100644
index 573e268bed..0000000000
--- a/testing/monero/fix-build-flags-for-ppc64le.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- monero-0.10.3.1/CMakeLists.txt
-+++ monero-0.10.3.1/CMakeLists.txt
-@@ -82,6 +82,10 @@
- set(ARM8 1)
- endif()
-
-+if(ARCH_ID STREQUAL "ppc64le")
-+ set(PPC64LE 1)
-+endif()
-+
- if(WIN32 OR ARM)
- set(OPT_FLAGS_RELEASE "-O2")
- else()
-@@ -379,6 +383,8 @@
- message(STATUS "Building on ${CMAKE_SYSTEM_PROCESSOR} for ${ARCH}")
- if(ARCH STREQUAL "default")
- set(ARCH_FLAG "")
-+ elseif(PPC64LE)
-+ set(ARCH_FLAG "-mcpu=${ARCH}")
- else()
- set(ARCH_FLAG "-march=${ARCH}")
- endif()
-@@ -435,7 +441,7 @@
-
- option(NO_AES "Explicitly disable AES support" ${NO_AES})
-
-- if(NOT NO_AES AND NOT ARM)
-+ if(NOT NO_AES AND NOT ARM AND NOT PPC64LE)
- message(STATUS "AES support enabled")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -maes")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -maes")