diff --git a/configure b/configure index 2fd6dafe1e..9dfd006698 100755 --- a/configure +++ b/configure @@ -3553,7 +3553,7 @@ case "$toolchain" in ;; *-tsan) cc_default="${toolchain%-tsan}" - add_cflags -fsanitize=thread -pie + add_cflags -fsanitize=thread -fPIE add_ldflags -fsanitize=thread -pie case "$toolchain" in gcc-tsan)