aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-06-23 10:02:07 +0200
committerJaquee <jaquee.monero@gmail.com>2017-08-05 19:21:10 +0200
commitf233c01c8f5af94a15fed93b0612b9069e17d172 (patch)
treebe51996bf397ec58ff8bc77b95c1050d3e07040b /CMakeLists.txt
parentMerge pull request #2159 (diff)
downloadmonero-f233c01c8f5af94a15fed93b0612b9069e17d172.tar.xz
CMakeLists.txt - ios/xcode fix
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 45745abee..3d53e049e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -392,6 +392,9 @@ else()
set(ARCH_FLAG "")
elseif(PPC64LE)
set(ARCH_FLAG "-mcpu=${ARCH}")
+ elseif(IOS AND ARCH STREQUAL "arm64")
+ message(STATUS "IOS: Changing arch from arm64 to armv8")
+ set(ARCH_FLAG "-march=armv8")
else()
set(ARCH_FLAG "-march=${ARCH}")
endif()