mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-01 19:53:12 +00:00
Also set stacksize for Win32 not on MSVC
This commit is contained in:
parent
5d33b43d8d
commit
cfe15b81bd
1 changed files with 1 additions and 0 deletions
|
@ -309,6 +309,7 @@ else()
|
||||||
include_directories(SYSTEM src/platform/mingw)
|
include_directories(SYSTEM src/platform/mingw)
|
||||||
# mingw doesn't support LTO (multiple definition errors at link time)
|
# mingw doesn't support LTO (multiple definition errors at link time)
|
||||||
set(USE_LTO_DEFAULT false)
|
set(USE_LTO_DEFAULT false)
|
||||||
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--stack,10485760")
|
||||||
endif()
|
endif()
|
||||||
set(C_WARNINGS "-Waggregate-return -Wnested-externs -Wold-style-definition -Wstrict-prototypes")
|
set(C_WARNINGS "-Waggregate-return -Wnested-externs -Wold-style-definition -Wstrict-prototypes")
|
||||||
set(CXX_WARNINGS "-Wno-reorder -Wno-missing-field-initializers")
|
set(CXX_WARNINGS "-Wno-reorder -Wno-missing-field-initializers")
|
||||||
|
|
Loading…
Reference in a new issue