1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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.
This commit is contained in:
Carl Eugen Hoyos 2018-07-03 22:17:06 +02:00
parent 9807d3976b
commit a2317556ef

4
configure vendored
View File

@ -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