2022-03-11 00:18:35 +00:00
|
|
|
From b06428ed9945f818095f1b8e725850b2d3b8551b Mon Sep 17 00:00:00 2001
|
2020-12-14 14:20:06 +00:00
|
|
|
From: graysky <graysky@archlinux.us>
|
2022-03-11 00:18:35 +00:00
|
|
|
Date: Thu, 10 Mar 2022 17:36:13 -0500
|
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-03-11 00:18:35 +00:00
|
|
|
index 6b957f760e..296ed09968 100644
|
2020-12-14 14:20:06 +00:00
|
|
|
--- a/cmake/modules/FindFFMPEG.cmake
|
|
|
|
+++ b/cmake/modules/FindFFMPEG.cmake
|
2022-03-11 00:18:35 +00:00
|
|
|
@@ -97,6 +97,7 @@ macro(buildFFMPEG)
|
2022-03-07 23:23:15 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/cmake/modules/FindGnuTLS.cmake
|
|
|
|
<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-03-11 00:18:35 +00:00
|
|
|
echo "########################################## patched ffmpeg ##############################")
|
2020-12-14 14:20:06 +00:00
|
|
|
|
2022-03-11 00:18:35 +00:00
|
|
|
BUILD_DEP_TARGET()
|
2020-12-14 14:20:06 +00:00
|
|
|
--
|
2022-03-07 23:23:15 +00:00
|
|
|
2.35.1
|
2020-12-14 14:20:06 +00:00
|
|
|
|