diff --git a/configure b/configure index 4c11e5e033..1183090613 100755 --- a/configure +++ b/configure @@ -2819,7 +2819,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)