Windows: enable high-entropy ASLR where available
This commit is contained in:
parent
3816ac24f0
commit
78b076c7f2
|
@ -669,6 +669,7 @@ else()
|
|||
if (WIN32)
|
||||
add_linker_flag_if_supported(-Wl,--dynamicbase LD_SECURITY_FLAGS)
|
||||
add_linker_flag_if_supported(-Wl,--nxcompat LD_SECURITY_FLAGS)
|
||||
add_linker_flag_if_supported(-Wl,--high-entropy-va LD_SECURITY_FLAGS)
|
||||
endif()
|
||||
|
||||
message(STATUS "Using C security hardening flags: ${C_SECURITY_FLAGS}")
|
||||
|
|
Loading…
Reference in New Issue