aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-09-21 09:58:10 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-28 18:44:38 +0100
commitd61a325a68aa7864fb6769436f0b20a6df36abea (patch)
treea0a4531d1e114cfce0f677dc16bdabcd038e4400
parentc658f6c34d0fc7c833e81aac4a661f9e98e5a3e1 (diff)
downloadffmpeg-d61a325a68aa7864fb6769436f0b20a6df36abea.tar.gz
configure: add noexecstack to linker options if supported.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> (cherry picked from commit b7082d953fda93f7841ffffe7d15a6c3cd15bdee) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 1f0cbff7f9..08777a79d9 100755
--- a/configure
+++ b/configure
@@ -4092,6 +4092,7 @@ EOF
fi
check_ldflags -Wl,--as-needed
+check_ldflags -Wl,-z,noexecstack
if check_func dlopen; then
ldl=