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

Reimar Döffinger git at videolan.org
Sun Oct 5 00:32:25 CEST 2014


ffmpeg | branch: release/2.4 | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sun Sep 21 09:58:10 2014 +0100| [6099d1ca0e60cc77936108f88a24a9b6c2b024b8] | 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=6099d1ca0e60cc77936108f88a24a9b6c2b024b8
---

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

diff --git a/configure b/configure
index b39b6d3..618dfab 100755
--- a/configure
+++ b/configure
@@ -4608,6 +4608,7 @@ fi
 check_code cc arm_neon.h "int16x8_t test = vdupq_n_s16(0)" && enable intrinsics_neon
 
 check_ldflags -Wl,--as-needed
+check_ldflags -Wl,-z,noexecstack
 
 if check_func dlopen; then
     ldl=



More information about the ffmpeg-cvslog mailing list