ffmpeg: add support for ppc64 targets

[ci skip]
This commit is contained in:
q66 2018-12-13 20:00:50 +01:00 committed by Helmut Pozimski
parent c730f6bfff
commit 81ccdf7090
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ build_options="x265 v4l2 vaapi vdpau vpx faac fdk_aac aom nvenc"
build_options_default="x265 v4l2 vpx"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) build_options_default+=" vaapi vdpau";;
i686*|x86_64*|ppc64*) build_options_default+=" vaapi vdpau";;
mips*) CFLAGS="-mnan=legacy";;
esac
@ -42,6 +42,7 @@ do_configure() {
arm*) _arch="arm";;
aarch64*) _arch="aarch64";;
mips*) _arch="mips";;
ppc64*) _arch="ppc64";;
*) _arch="${XBPS_TARGET_MACHINE%%-musl}";;
esac