configure: add -fPIE instead of -pie to C flags for ThreadSanitizer
[libav.git] / configure
index 4c11e5e..1183090 100755 (executable)
--- 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)