diff options
author | Howard Chu <hyc@symas.com> | 2016-01-12 21:11:09 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2016-01-12 21:11:09 +0000 |
commit | e98a3f26e2a21dbfd93bdc8f36e37bd6f5bedd57 (patch) | |
tree | b2ced5c40816735554335330b12312af63615a5f /cmake | |
parent | Merge pull request #606 (diff) | |
download | monero-e98a3f26e2a21dbfd93bdc8f36e37bd6f5bedd57.tar.xz |
Fix da0bce34
Windows doesn't define a default linker
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/32-bit-toolchain.cmake | 1 | ||||
-rw-r--r-- | cmake/64-bit-toolchain.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cmake/32-bit-toolchain.cmake b/cmake/32-bit-toolchain.cmake index f74184315..908431697 100644 --- a/cmake/32-bit-toolchain.cmake +++ b/cmake/32-bit-toolchain.cmake @@ -33,6 +33,7 @@ set (CMAKE_C_COMPILER ${GCC_PREFIX}-gcc) set (CMAKE_CXX_COMPILER ${GCC_PREFIX}-g++) set (CMAKE_AR ar CACHE FILEPATH "" FORCE) set (CMAKE_NM nm CACHE FILEPATH "" FORCE) +set (CMAKE_LINKER ld CACHE FILEPATH "" FORCE) #set (CMAKE_RANLIB ${GCC_PREFIX}-gcc-ranlib CACHE FILEPATH "" FORCE) set (CMAKE_RC_COMPILER windres) diff --git a/cmake/64-bit-toolchain.cmake b/cmake/64-bit-toolchain.cmake index 2217d077d..4fc024c23 100644 --- a/cmake/64-bit-toolchain.cmake +++ b/cmake/64-bit-toolchain.cmake @@ -33,6 +33,7 @@ set (CMAKE_C_COMPILER ${GCC_PREFIX}-gcc) set (CMAKE_CXX_COMPILER ${GCC_PREFIX}-g++) set (CMAKE_AR ar CACHE FILEPATH "" FORCE) set (CMAKE_NM nm CACHE FILEPATH "" FORCE) +set (CMAKE_LINKER ld CACHE FILEPATH "" FORCE) #set (CMAKE_RANLIB ${GCC_PREFIX}-gcc-ranlib CACHE FILEPATH "" FORCE) set (CMAKE_RC_COMPILER windres) |