Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-08-14 07:15:57 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-08-14 07:15:57 +0200
commit1c5bf8244305aa314e4cff5058105bb1849b9f05 (patch)
tree39d8790d6bb02dbe347d15b033f2d46c97bbae79 /extra
parent790dd4e48b62f3075381c2d45ece814a21207325 (diff)
extra/ffmpeg: added -latomic for i486
Diffstat (limited to 'extra')
-rw-r--r--extra/ffmpeg/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
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