2022-03-07 23:23:15 +00:00
|
|
|
From 5e0e966976fe08314b8a28eb53583563986f8c9d Mon Sep 17 00:00:00 2001
|
2020-12-14 14:20:06 +00:00
|
|
|
From: graysky <graysky@archlinux.us>
|
2022-03-07 23:23:15 +00:00
|
|
|
Date: Mon, 7 Mar 2022 18:05:02 -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-07 23:23:15 +00:00
|
|
|
index ee600d0d83..5a7fd2e70f 100644
|
2020-12-14 14:20:06 +00:00
|
|
|
--- a/cmake/modules/FindFFMPEG.cmake
|
|
|
|
+++ b/cmake/modules/FindFFMPEG.cmake
|
2022-03-07 23:23:15 +00:00
|
|
|
@@ -89,6 +89,7 @@ macro(buildFFMPEG)
|
|
|
|
${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 &&
|
|
|
|
echo "########################################## patched ffmpeg ##############################"
|
|
|
|
)
|
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
|
|
|
|