Commit 225a5f91 authored by Alex Smith's avatar Alex Smith Committed by Martin Storsjö

configure: Use linker hardening flags on mingw

This makes it consistent with the msvc builds which automatically set
the DEP and ASLR flags by default.  There really is no good reason why
they shouldn't be set.

The fact that binutils does not set them on by default boggles the mind.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 6ce2c310
...@@ -3029,6 +3029,8 @@ case $target_os in ...@@ -3029,6 +3029,8 @@ case $target_os in
elif enabled arm; then elif enabled arm; then
LIBTARGET=arm-wince LIBTARGET=arm-wince
fi fi
check_ldflags -Wl,--nxcompat
check_ldflags -Wl,--dynamicbase
shlibdir_default="$bindir_default" shlibdir_default="$bindir_default"
SLIBPREF="" SLIBPREF=""
SLIBSUF=".dll" SLIBSUF=".dll"
......
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