Skip to content

Commit 330354f

Browse files
committed
Remove /STACK option for Windows linker
This has been in the config since it supported Windows. It is not clear why it is needed. We are not doing anything with recursion or storing large objects on the stack. We are probably fine without it.
1 parent 43ec304 commit 330354f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
4848
if (MSVC)
4949
add_definitions(-D_CRT_SECURE_NO_WARNINGS -DNOMINMAX)
5050
add_compile_options(-wd4996)
51-
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /ignore:4099 /STACK:30000000")
51+
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /ignore:4099")
5252
else()
5353
add_compile_options(-Wall)
5454
endif()

0 commit comments

Comments
 (0)