summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <[email protected]>2014-09-21 09:58:10 +0100
committerMichael Niedermayer <[email protected]>2014-12-21 04:40:03 +0100
commit0872359f9fff2d7f404ad3b202bcd96517812c1b (patch)
tree6c44047076ce80a68a6d3fc6ce58c50e286ef3b8
parent135a09c46ee6354957737926aa735fb2289ad1ce (diff)
configure: add noexecstack to linker options if supported.
Signed-off-by: Reimar Döffinger <[email protected]> (cherry picked from commit b7082d953fda93f7841ffffe7d15a6c3cd15bdee) Signed-off-by: Michael Niedermayer <[email protected]>
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 96703ec2ee..c5ccd3eda1 100755
--- a/configure
+++ b/configure
@@ -3691,6 +3691,7 @@ EOF
fi
check_ldflags -Wl,--as-needed
+check_ldflags -Wl,-z,noexecstack
if check_func dlopen; then
ldl=