[FFmpeg-cvslog] configure: add noexecstack to linker options if supported.

Reimar Döffinger git at videolan.org
Thu Mar 12 00:52:48 CET 2015


ffmpeg | branch: release/0.7 | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sun Sep 21 09:58:10 2014 +0100| [3ab6c0c4ecfd4880096f98474f8ac6b5f39dd924] | committer: Michael Niedermayer

configure: add noexecstack to linker options if supported.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
(cherry picked from commit b7082d953fda93f7841ffffe7d15a6c3cd15bdee)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3ab6c0c4ecfd4880096f98474f8ac6b5f39dd924
---

 configure |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 8f58296..ed228e4 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=



More information about the ffmpeg-cvslog mailing list