diff options
author | TheCharlatan <seb.kung@gmail.com> | 2018-09-26 00:36:34 +0200 |
---|---|---|
committer | TheCharlatan <seb.kung@gmail.com> | 2018-09-29 22:16:42 +0200 |
commit | 2fbf38ee918894a92f2f058c5551d81d34e215c9 (patch) | |
tree | 6ba8a40988969b6fdc662e13a3cc8235baceee99 /contrib/depends | |
parent | Merge pull request #4449 (diff) | |
download | monero-2fbf38ee918894a92f2f058c5551d81d34e215c9.tar.xz |
Fix 32bit depends builds
Add architecture flags when cmake invokes gcc manually.
Add 32bit to Travis.
Diffstat (limited to 'contrib/depends')
-rw-r--r-- | contrib/depends/toolchain.cmake.in | 4 |
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) |