aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2018-10-13 09:46:19 +0000
committerxiphon <xiphon@protonmail.com>2018-10-14 23:24:54 +0300
commit82037f2365886b5169f5e02660c6811567d60725 (patch)
tree4455ff8e46f0ad466d4136e1d15ef6eb3fd05650 /contrib
parentMerge pull request #4544 (diff)
downloadmonero-82037f2365886b5169f5e02660c6811567d60725.tar.xz
build: use ARCH 'native' by default, allow to configure and override it
Diffstat (limited to 'contrib')
-rw-r--r--contrib/depends/toolchain.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/depends/toolchain.cmake.in b/contrib/depends/toolchain.cmake.in
index f8548a724..66168facb 100644
--- a/contrib/depends/toolchain.cmake.in
+++ b/contrib/depends/toolchain.cmake.in
@@ -51,7 +51,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
SET(APPLE True)
SET(BUILD_TAG "mac-x64")
SET(BUILD_64 ON)
+ if(NOT TRAVIS)
SET(ARCH "x86_64")
+ endif()
SET(BREW OFF)
SET(PORT OFF)
SET(CMAKE_OSX_SYSROOT "@sdk@/MacOSX10.11.sdk/")