diff options
author | Howard Chu <hyc@symas.com> | 2015-12-20 18:07:18 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2015-12-20 18:41:36 +0000 |
commit | cfe15b81bd4b9b582b094f2594bcccdc27828532 (patch) | |
tree | 94b354b59af5744bbb63a4a104bd0618c5eb8a12 /CMakeLists.txt | |
parent | Merge pull request #544 (diff) | |
download | monero-cfe15b81bd4b9b582b094f2594bcccdc27828532.tar.xz |
Also set stacksize for Win32 not on MSVC
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
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") |