diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/ffmpeg/PKGBUILD | 11 |
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 |