Commit 3189e48d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win64: use high-entropy ASLR

And set the image base to >4GB

This should improve the application security
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4e82ba21
......@@ -269,6 +269,7 @@ case "${host_os}" in
HAVE_WIN64="1"
WINDOWS_ARCH="x64"
PROGRAMFILES="PROGRAMFILES64"
LDFLAGS="${LDFLAGS} -Wl,--high-entropy-va -Wl,--image-base,0x140000000"
;;
*)
WINDOWS_ARCH="x86"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment