[FFmpeg-cvslog] configure: toolchain-tsan does not need -fPIE.

Carl Eugen Hoyos git at videolan.org
Fri Jul 6 01:42:14 EEST 2018


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Tue Jul  3 22:17:06 2018 +0200| [a2317556efb79cbe8e21bf75d56c75e4086602ec] | committer: Carl Eugen Hoyos

configure: toolchain-tsan does not need -fPIE.

Fixes compilation with some kernel-gcc combinations:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67308

Reported and analyzed by Gonzalo Garramuño.

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

 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 1066df6621..b1a4dcfc42 100755
--- a/configure
+++ b/configure
@@ -3973,8 +3973,8 @@ case "$toolchain" in
     ;;
     *-tsan)
         cc_default="${toolchain%-tsan}"
-        add_cflags  -fsanitize=thread -fPIE
-        add_ldflags -fsanitize=thread -pie
+        add_cflags  -fsanitize=thread
+        add_ldflags -fsanitize=thread
         case "$toolchain" in
             gcc-tsan)
                 add_cflags  -fPIC



More information about the ffmpeg-cvslog mailing list