From: Carl Eugen Hoyos Date: Tue, 3 Jul 2018 20:17:06 +0000 (+0200) Subject: configure: toolchain-tsan does not need -fPIE. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=a2317556efb79cbe8e21bf75d56c75e4086602ec;p=ffmpeg 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. --- diff --git a/configure b/configure index 1066df66217..b1a4dcfc428 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