2022-07-14 15:53:59 +00:00
|
|
|
From ff40de29a49bc212a0cdc4ef640effc2bad3cdfe Mon Sep 17 00:00:00 2001
|
|
|
|
From: graysky <therealgraysky@proton.me>
|
|
|
|
Date: Thu, 14 Jul 2022 11:19:30 -0400
|
2021-01-26 12:04:11 +00:00
|
|
|
Subject: [PATCH] mcpu=cortex-xxx application to ffmpeg
|
2020-12-14 14:20:06 +00:00
|
|
|
|
|
|
|
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
|
2022-07-14 15:53:59 +00:00
|
|
|
index 2ad78aa..5a81750 100644
|
2020-12-14 14:20:06 +00:00
|
|
|
--- a/cmake/modules/FindFFMPEG.cmake
|
|
|
|
+++ b/cmake/modules/FindFFMPEG.cmake
|
2022-07-14 15:53:59 +00:00
|
|
|
@@ -98,6 +98,7 @@ macro(buildFFMPEG)
|
|
|
|
${CMAKE_SOURCE_DIR}/tools/depends/target/ffmpeg/CMakeLists.txt
|
2022-03-07 23:23:15 +00:00
|
|
|
<SOURCE_DIR> &&
|
|
|
|
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 &&
|
2022-07-14 15:53:59 +00:00
|
|
|
echo "########################################## patched ffmpeg ##############################"
|
|
|
|
)
|
2020-12-14 14:20:06 +00:00
|
|
|
|
|
|
|
--
|
2022-07-14 15:53:59 +00:00
|
|
|
2.37.1
|
2020-12-14 14:20:06 +00:00
|
|
|
|