Browse Source

Merge topic 'Embarcadero-linker-flags'

188b0e9 Embarcadero: Fix default link stack/heap flags (#13912)
Brad King 13 năm trước cách đây
mục cha
commit
3a393cb2da
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Modules/Platform/Windows-Embarcadero.cmake

+ 1 - 1
Modules/Platform/Windows-Embarcadero.cmake

@@ -64,7 +64,7 @@ set(CMAKE_CREATE_CONSOLE_EXE "${_tC}" )
 set (CMAKE_BUILD_TYPE Debug CACHE STRING
      "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel.")
 
-set (CMAKE_EXE_LINKER_FLAGS_INIT "${_tM} -lS:10000000 -lSc:10000000 ")
+set (CMAKE_EXE_LINKER_FLAGS_INIT "${_tM} -lS:1048576 -lSc:4098 -lH:1048576 -lHc:8192 ")
 set (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "-v")
 set (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "-v")
 set (CMAKE_SHARED_LINKER_FLAGS_INIT ${CMAKE_EXE_LINKER_FLAGS_INIT})