The same flags should be used when linking than when compiling.
Without this actual errors have been observed when using LTO.
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index e6cee21142..97c51f20a7 100755
--- a/configure
+++ b/configure
@@ -5805,6 +5805,7 @@ enable_weak_pic() {
*)
add_cflags -fPIC
add_asflags -fPIC
+ add_ldflags -fPIC
;;
esac
}
--
2.33.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".