diff --git a/mythtv/configure b/mythtv/configure index 331fa02d149..8a30890c3a9 100755 --- a/mythtv/configure +++ b/mythtv/configure @@ -6789,7 +6789,7 @@ fi # incompatible function pointer waring has been promoted to an error. # Demoting it back to a warning allows the builds to work again. # https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2023-March/307515.html -if test $target_os == "freebsd" && +if test $target_os = "freebsd" && enabled clangxx && test $clangxx_major -ge 16; then ffmpeg_extra_cflags="$ffmpeg_extra_cflags -Wno-error=incompatible-function-pointer-types"