diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-07-03 22:17:06 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-07-06 00:41:59 +0200 |
commit | a2317556efb79cbe8e21bf75d56c75e4086602ec (patch) | |
tree | 3592b268c2f5732325fe2db439cf1b2a66dd0be0 | |
parent | 9807d3976be0e92e4ece3b4b1701be894cd7c2e1 (diff) |
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.
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |