We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d2c6fb commit 81f756fCopy full SHA for 81f756f
src/coreclr/nativeaot/CMakeLists.txt
@@ -23,6 +23,7 @@ if(MSVC)
23
string(REPLACE "/RTC1" " " CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
24
endif()
25
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/GS->)
26
+ add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/Gs10000000>) # avoid __chkstk
27
28
# Sets the options that create the fastest code in the majority of cases
29
add_compile_options($<$<AND:$<COMPILE_LANGUAGE:C,CXX>,$<CONFIG:Release>>:/O2>)
0 commit comments