Signed-off-by: Kacper Michajłow <kaspe...@gmail.com> --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure b/configure index 9e51abd0d3..bf5a687239 100755 --- a/configure +++ b/configure @@ -7173,8 +7173,9 @@ check_optflags -fno-signed-zeros if enabled lto; then test "$cc_type" != "$ld_type" && die "LTO requires same compiler and linker" - check_cflags -flto - check_ldflags -flto $cpuflags + check_cflags -flto=auto || check_cflags -flto + check_ldflags -flto=auto || check_ldflags -flto + check_ldflags $cpuflags disable inline_asm_direct_symbol_refs fi -- 2.37.3 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".