diff --git a/srcpkgs/libvpx/template b/srcpkgs/libvpx/template index fae0558f704..682c3d45096 100644 --- a/srcpkgs/libvpx/template +++ b/srcpkgs/libvpx/template @@ -10,12 +10,18 @@ license="BSD" distfiles="http://downloads.webmproject.org/releases/webm/libvpx-${version}.tar.bz2" checksum=1c2c0c2a97fba9474943be34ee39337dee756780fc12870ba1dc68372586a819 +# https://github.com/webmproject/libvpx/commit/d55724fae9cb27e070add7952394fc0427ef2061 +case "$XBPS_TARGET_MACHINE" in + armv6*) broken="armv6hf not supported";; +esac + + do_configure() { export LD="$CC" if [ "$CROSS_BUILD" ]; then case "$XBPS_TARGET_MACHINE" in - armv6*) _cross="--target=armv6-linux-gcc";; + aarch64*) _cross="--target=arm64-linux-gcc";; armv7*) _cross="--target=armv7-linux-gcc";; *) _cross="--target=generic-gnu";; esac