diff --git a/srcpkgs/libvpx/template b/srcpkgs/libvpx/template index 2cb51f56a81..56825366610 100644 --- a/srcpkgs/libvpx/template +++ b/srcpkgs/libvpx/template @@ -20,7 +20,8 @@ long_desc=" based on the Matroska container." do_configure() { - export LD="$CC" + export LD="$CC" AS= + if [ "$XBPS_CROSS_BUILD" ]; then sed -e "s,generic-gnu,$XBPS_CROSS_TRIPLET," -i configure _cross="--target=$XBPS_CROSS_TRIPLET"