aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-10-15 13:31:56 +0200
committerRiccardo Spagni <ric@spagni.net>2018-10-15 13:31:57 +0200
commit7c6a7c1945214fc92269f300c750e366617dc271 (patch)
tree2ccf0fbc7eeb5ea452df4a9ab1924cf39a3ea407 /contrib
parentMerge pull request #4577 (diff)
parentbuild: use ARCH 'native' by default, allow to configure and override it (diff)
downloadmonero-7c6a7c1945214fc92269f300c750e366617dc271.tar.xz
Merge pull request #4565
bf842a6a build: use ARCH 'native' by default, allow to configure and override it (xiphon)
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/")