diff --git a/cmake/embeddedlibs/FindOrBuildFFmpeg.cmake b/cmake/embeddedlibs/FindOrBuildFFmpeg.cmake index 82b50d3db6f..063a899138b 100644 --- a/cmake/embeddedlibs/FindOrBuildFFmpeg.cmake +++ b/cmake/embeddedlibs/FindOrBuildFFmpeg.cmake @@ -52,7 +52,7 @@ function(find_or_build_ffmpeg) --disable-stripping --disable-static --enable-shared - --extra-cflags=-w) + ) if(NOT LIBS_INSTALL_PREFIX STREQUAL CMAKE_INSTALL_PREFIX) list(APPEND FF_ARGS --extra-cflags=-I${LIBS_INSTALL_PREFIX}/include diff --git a/mythtv/configure b/mythtv/configure index c330a0ab119..b675921a669 100755 --- a/mythtv/configure +++ b/mythtv/configure @@ -6798,7 +6798,6 @@ if enabled lto; then ffopts="$ffopts --enable-lto" fi -ffmpeg_extra_cflags="$extra_cflags -w" if test "$ID" = "raspbian"; then case $cpu in armv*) ffmpeg_extra_ldflags="$ffmpeg_extra_libs -latomic" ;;