mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
From ff40de29a49bc212a0cdc4ef640effc2bad3cdfe Mon Sep 17 00:00:00 2001
|
|
From: graysky <therealgraysky@proton.me>
|
|
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
|
|
<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 ##############################"
|
|
)
|
|
|
|
--
|
|
2.37.1
|
|
|