From 1c5bf8244305aa314e4cff5058105bb1849b9f05 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 14 Aug 2021 07:15:57 +0200 Subject: extra/ffmpeg: added -latomic for i486 --- extra/ffmpeg/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'extra') diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD index cc9d547d..8d7c47cb 100644 --- a/extra/ffmpeg/PKGBUILD +++ b/extra/ffmpeg/PKGBUILD @@ -65,3 +65,14 @@ eval "$( s@--enable-libsvtav1@--disable-libsvtav1@ ' )" + +# -latomic on i486 +if [ "$CARCH" == 'i486' ]; then + depends=(${depends[@]//librav1e.so/}) + eval "$( + declare -f build | \ + sed ' + s@make[^ ]@make EXTRALIBS-ffmpeg=-latomic EXTRALIBS-ffplay=-latomic EXTRALIBS-ffprobe=-latomic@ + ' + )" +fi -- cgit v1.2.3-70-g09d2