Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ffmpeg 6.0.1 build (Allwinner H5) warnings #9384

Open
heitbaum opened this issue Oct 11, 2024 · 1 comment
Open

[BUG] ffmpeg 6.0.1 build (Allwinner H5) warnings #9384

heitbaum opened this issue Oct 11, 2024 · 1 comment
Labels

Comments

@heitbaum
Copy link
Contributor

cc1: warning: switch '-mcpu=cortex-a53' conflicts with '-march=armv8-a+crc+crypto' switch and resulted in options '+crc+crypto' being added
@Kwiboo
Copy link
Member

Kwiboo commented Oct 11, 2024

In my local copy testing ffmpeg 7.x and updated v4l2request patches I have used following, may fix these warnings:

diff --git a/packages/multimedia/ffmpeg/package.mk b/packages/multimedia/ffmpeg/package.mk
index 11129c638e..b76a8229c3 100644
--- a/packages/multimedia/ffmpeg/package.mk
+++ b/packages/multimedia/ffmpeg/package.mk
@@ -133,7 +133,7 @@ fi
 
 configure_target() {
   ./configure --prefix="/usr" \
-              --cpu="${TARGET_CPU}" \
+              --cpu="${TARGET_CPU}${TARGET_CPU_FLAGS}" \
               --arch="${TARGET_ARCH}" \
               --enable-cross-compile \
               --cross-prefix="${TARGET_PREFIX}" \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants