diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-12-22 10:28:01 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-12-22 10:28:15 +0200 |
commit | 21053c64201e9cd96d1c6c873eedc302d6685274 (patch) | |
tree | dab33a289614a003dc9cf96f565176f6a72296b0 | |
parent | Merge pull request #550 (diff) | |
parent | Also set stacksize for Win32 not on MSVC (diff) | |
download | monero-21053c64201e9cd96d1c6c873eedc302d6685274.tar.xz |
Merge pull request #551
cfe15b8 Also set stacksize for Win32 not on MSVC (Howard Chu)
-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") |