Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalStrehovsky authored Jun 17, 2024
1 parent ba175d4 commit 414629b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/nativeaot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if(MSVC)
string(REPLACE "/RTC1" " " CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
endif()
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/GS->)
add_compile_options(/Gs10000000) # avoid __chkstk
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/Gs10000000) # avoid __chkstk

# Sets the options that create the fastest code in the majority of cases
add_compile_options($<$<AND:$<COMPILE_LANGUAGE:C,CXX>,$<CONFIG:Release>>:/O2>)
Expand Down

0 comments on commit 414629b

Please sign in to comment.