ffmpeg | branch: master | Carl Eugen Hoyos <ceho...@ag.or.at> | Tue Oct  4 
12:21:41 2016 +0200| [a2c5f5aacf9d1e53602864cde21ab3c8b730a617] | committer: 
Carl Eugen Hoyos

configure: Enable pie for toolchain=hardened.

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

 configure | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index 8db46c5..96f575f 100755
--- a/configure
+++ b/configure
@@ -3575,6 +3575,8 @@ case "$toolchain" in
         add_cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
         add_cflags   -fno-strict-overflow -fstack-protector-all
         add_ldflags  -Wl,-z,relro -Wl,-z,now
+        add_cflags   -fPIE
+        add_ldexeflags -fPIE -pie
     ;;
     ?*)
         die "Unknown toolchain $toolchain"

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to