summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Smith <alex.smith@warpsharp.info>2013-05-14 10:05:52 -0400
committerMartin Storsjö <martin@martin.st>2013-05-15 14:42:08 +0300
commit225a5f91cc83f684e948d3c23ce5e5de0c041ecb (patch)
tree09325af5bf0f8d6a0ef487a79319e218afcd7b1a
parent6ce2c3106d78994d2b5d23ea5d23a393f8296657 (diff)
downloadffmpeg-streaming-225a5f91cc83f684e948d3c23ce5e5de0c041ecb.zip
ffmpeg-streaming-225a5f91cc83f684e948d3c23ce5e5de0c041ecb.tar.gz
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-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index c84050c..7bcaac3 100755
--- a/configure
+++ b/configure
@@ -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"
OpenPOWER on IntegriCloud