aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/toolchain.cmake.in
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2018-09-26 00:36:34 +0200
committerTheCharlatan <seb.kung@gmail.com>2018-09-29 22:16:42 +0200
commit2fbf38ee918894a92f2f058c5551d81d34e215c9 (patch)
tree6ba8a40988969b6fdc662e13a3cc8235baceee99 /contrib/depends/toolchain.cmake.in
parentMerge pull request #4449 (diff)
downloadmonero-2fbf38ee918894a92f2f058c5551d81d34e215c9.tar.xz
Fix 32bit depends builds
Add architecture flags when cmake invokes gcc manually. Add 32bit to Travis.
Diffstat (limited to '')
-rw-r--r--contrib/depends/toolchain.cmake.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/depends/toolchain.cmake.in b/contrib/depends/toolchain.cmake.in
index 375533557..bde7497b3 100644
--- a/contrib/depends/toolchain.cmake.in
+++ b/contrib/depends/toolchain.cmake.in
@@ -78,5 +78,9 @@ elseif(ARCHITECTURE STREQUAL "aarch64")
set(BUILD_64 ON)
endif()
+if(ARCHITECTURE STREQUAL "i686" AND CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ SET(LINUX_32 ON)
+endif()
+
#Create a new global cmake flag that indicates building with depends
set (DEPENDS true)