We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ced2117 commit c95d3b8Copy full SHA for c95d3b8
src/coreclr/hosts/corerun/CMakeLists.txt
@@ -27,6 +27,10 @@ if(CLR_CMAKE_HOST_WIN32)
27
${STATIC_MT_CRT_LIB}
28
${STATIC_MT_VCRT_LIB}
29
)
30
+ # Enable CET-compatibility
31
+ if (CLR_CMAKE_HOST_ARCH_AMD64)
32
+ target_link_options(corerun PRIVATE "/CETCOMPAT")
33
+ endif()
34
else(CLR_CMAKE_HOST_WIN32)
35
target_link_libraries(corerun PRIVATE ${CMAKE_DL_LIBS})
36
# Required to expose symbols for global symbol discovery
0 commit comments