summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-09-21 09:58:10 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-12 00:47:04 +0100
commit3ab6c0c4ecfd4880096f98474f8ac6b5f39dd924 (patch)
tree1a429f4971950c5e66c089d17fe49bba28480b62
parent1b291e0466308b341bc2e8c2a49d44862400f014 (diff)
downloadffmpeg-3ab6c0c4ecfd4880096f98474f8ac6b5f39dd924.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 8f5829612f..ed228e49a5 100755
--- a/configure
+++ b/configure
@@ -2799,6 +2799,7 @@ if enabled asm; then
fi
check_ldflags -Wl,--as-needed
+check_ldflags -Wl,-z,noexecstack
if check_func dlopen; then
ldl=