diff options
author | iDunk5400 <iDunk5400@users.noreply.github.com> | 2019-10-24 21:40:11 +0200 |
---|---|---|
committer | iDunk5400 <iDunk5400@users.noreply.github.com> | 2019-10-25 01:22:56 +0200 |
commit | 78b076c7f2731911346978fd5a481a82190b3b8e (patch) | |
tree | a4876a07ff00c50ce7dcd62a730f1c66423d6cb8 /CMakeLists.txt | |
parent | build: fix building on Windows due to _FORTIFY_SOURCE changes in MSYS2 (diff) | |
download | monero-78b076c7f2731911346978fd5a481a82190b3b8e.tar.xz |
Windows: enable high-entropy ASLR where available
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
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}") |