aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/toolchain.cmake.in
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2018-09-10 23:22:41 +0200
committerTheCharlatan <seb.kung@gmail.com>2018-09-17 16:09:50 +0200
commitecaf5b3feb2272ee8b9aec7f10d427dc20318d22 (patch)
treef7fa0cabc223ee909f615ac5d86abe480d6f56f9 /contrib/depends/toolchain.cmake.in
parentAdapt translations to upstream changes (diff)
downloadmonero-ecaf5b3feb2272ee8b9aec7f10d427dc20318d22.tar.xz
Add libsodium to the packages, the arm build was complaining about it.
Fixup arm toolchain file.
Diffstat (limited to 'contrib/depends/toolchain.cmake.in')
-rw-r--r--contrib/depends/toolchain.cmake.in15
1 files changed, 11 insertions, 4 deletions
diff --git a/contrib/depends/toolchain.cmake.in b/contrib/depends/toolchain.cmake.in
index 5ab93b1c3..d2fdd4270 100644
--- a/contrib/depends/toolchain.cmake.in
+++ b/contrib/depends/toolchain.cmake.in
@@ -62,12 +62,19 @@ else()
endif()
if(ARCH STREQUAL "arm")
- set(ARCH "armv6zk")
- set(ARMID "armv6zk")
+ set(ARCH "armv7-a")
+ set(ARM ON)
+ set(ARM_ID "armv7-a")
set(BUILD_64 OFF)
set(CMAKE_BUILD_TYPE release)
- set(BUILD_TAG "linux-armv6")
- set(ARM6)
+ set(BUILD_TAG "linux-armv7")
+ set(ARM7)
+elif(ARCH STREQUAL "aarch64")
+ set(ARCH "armv8-a")
+ set(ARM ON)
+ set(ARM_ID "armv8-a")
+ set(BUILD_TAG "linux-armv8")
+ set(BUILD_64 ON)
endif()
#Create a new global cmake flag that indicates building with depends