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>2015-03-12 18:03:48 +0100
commitef803afa769be24fedb5f46c9bcce5cc30903a25 (patch)
tree1838f5a806b47eed56feee91f72f6e9b8b2deeab
parent348b87b9bd510dd550b0bc0971a37e35ac87de9c (diff)
downloadffmpeg-ef803afa769be24fedb5f46c9bcce5cc30903a25.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 23a5174212..520631f36e 100755
--- a/configure
+++ b/configure
@@ -2988,6 +2988,7 @@ if enabled asm; then
fi
check_ldflags -Wl,--as-needed
+check_ldflags -Wl,-z,noexecstack
if check_func dlopen; then
ldl=