Fix stack overflow on MinGW32
This commit is contained in:
parent
125132b62a
commit
98803131db
1 changed files with 1 additions and 1 deletions
|
@ -730,7 +730,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|||
endif()
|
||||
|
||||
if(WIN32 AND MINGW AND ENABLE_STATIC)
|
||||
set_target_properties(stratagus PROPERTIES LINK_FLAGS "${LINK_FLAGS} -static-libgcc")
|
||||
set_target_properties(stratagus PROPERTIES LINK_FLAGS "${LINK_FLAGS} -static-libgcc -Wl,--stack,10485760")
|
||||
endif()
|
||||
|
||||
########### next target ###############
|
||||
|
|
Loading…
Reference in a new issue