From ff40de29a49bc212a0cdc4ef640effc2bad3cdfe Mon Sep 17 00:00:00 2001 From: graysky Date: Thu, 14 Jul 2022 11:19:30 -0400 Subject: [PATCH] mcpu=cortex-xxx application to ffmpeg Get build system to patch ffmpeg source removing the -march= flag --- cmake/modules/FindFFMPEG.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/FindFFMPEG.cmake b/cmake/modules/FindFFMPEG.cmake index 2ad78aa..5a81750 100644 --- a/cmake/modules/FindFFMPEG.cmake +++ b/cmake/modules/FindFFMPEG.cmake @@ -98,6 +98,7 @@ macro(buildFFMPEG) ${CMAKE_SOURCE_DIR}/tools/depends/target/ffmpeg/CMakeLists.txt && patch -p1 < ${CMAKE_SOURCE_DIR}/tools/depends/target/ffmpeg/0001-rpi-Add-hevc-acceleration.patch && + patch -p1 < ${CMAKE_SOURCE_DIR}/tools/depends/target/ffmpeg/0002-use-mcpu-avoiding-march-and-mtune.patch && echo "########################################## patched ffmpeg ##############################" ) -- 2.37.1