[FFmpeg-devel] [PATCH 1/3] configure: add noexecstack to linker options if supported.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Sep 21 11:17:14 CEST 2014


Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index cabdbc2..2c6db81 100755
--- a/configure
+++ b/configure
@@ -4500,6 +4500,7 @@ EOF
 fi
 
 check_ldflags -Wl,--as-needed
+check_ldflags -Wl,-z,noexecstack
 
 if check_func dlopen; then
     ldl=
-- 
1.9.1



More information about the ffmpeg-devel mailing list