aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2015-12-20 18:07:18 +0000
committerHoward Chu <hyc@symas.com>2015-12-20 18:41:36 +0000
commitcfe15b81bd4b9b582b094f2594bcccdc27828532 (patch)
tree94b354b59af5744bbb63a4a104bd0618c5eb8a12
parentMerge pull request #544 (diff)
downloadmonero-cfe15b81bd4b9b582b094f2594bcccdc27828532.tar.xz
Also set stacksize for Win32 not on MSVC
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index adf5ed364..b6a6defa0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -309,6 +309,7 @@ else()
include_directories(SYSTEM src/platform/mingw)
# mingw doesn't support LTO (multiple definition errors at link time)
set(USE_LTO_DEFAULT false)
+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--stack,10485760")
endif()
set(C_WARNINGS "-Waggregate-return -Wnested-externs -Wold-style-definition -Wstrict-prototypes")
set(CXX_WARNINGS "-Wno-reorder -Wno-missing-field-initializers")