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-10-03 03:40:59 +0200
commit45ca270ec9f4b22683152bda43bff257b8a99388 (patch)
tree36b34015d7114eeebc552aa4c3bbf5526912e422
parentca2ccd85d7d1d0cb0c90f9da965a53bb98187b8f (diff)
downloadffmpeg-45ca270ec9f4b22683152bda43bff257b8a99388.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 4ed43a0fdd..ceaaf176f2 100755
--- a/configure
+++ b/configure
@@ -4528,6 +4528,7 @@ EOF
fi
check_ldflags -Wl,--as-needed
+check_ldflags -Wl,-z,noexecstack
if check_func dlopen; then
ldl=