diff options
author | Alex Smith <alex.smith@warpsharp.info> | 2013-05-14 18:05:52 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-05-15 15:42:08 +0400 |
commit | 225a5f91cc83f684e948d3c23ce5e5de0c041ecb (patch) | |
tree | 09325af5bf0f8d6a0ef487a79319e218afcd7b1a | |
parent | 6ce2c3106d78994d2b5d23ea5d23a393f8296657 (diff) |
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: Martin Storsjö <martin@martin.st>
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3029,6 +3029,8 @@ case $target_os in elif enabled arm; then LIBTARGET=arm-wince fi + check_ldflags -Wl,--nxcompat + check_ldflags -Wl,--dynamicbase shlibdir_default="$bindir_default" SLIBPREF="" SLIBSUF=".dll" |