aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriDunk5400 <iDunk5400@users.noreply.github.com>2019-10-24 21:40:11 +0200
committeriDunk5400 <iDunk5400@users.noreply.github.com>2019-10-25 01:22:56 +0200
commit78b076c7f2731911346978fd5a481a82190b3b8e (patch)
treea4876a07ff00c50ce7dcd62a730f1c66423d6cb8
parentbuild: fix building on Windows due to _FORTIFY_SOURCE changes in MSYS2 (diff)
downloadmonero-78b076c7f2731911346978fd5a481a82190b3b8e.tar.xz
Windows: enable high-entropy ASLR where available
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7e9dae833..03ede0483 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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}")