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-09-28 12:11:22 +0200
commit997bf49b1c88a17128bfcbdad19a2b71e689276c (patch)
treef26af55fe0c0a8a1218647d889f533a72ae893c9
parente9d85860d0f3d54cb1c6f67cf1856a7ebfea6ffe (diff)
downloadffmpeg-997bf49b1c88a17128bfcbdad19a2b71e689276c.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 025941f2a7..dc1c3b6d55 100755
--- a/configure
+++ b/configure
@@ -3750,6 +3750,7 @@ EOF
fi
check_ldflags -Wl,--as-needed
+check_ldflags -Wl,-z,noexecstack
if check_func dlopen; then
ldl=