diff --git a/srcpkgs/x265/template b/srcpkgs/x265/template index 932ced458ec..b27f429613b 100644 --- a/srcpkgs/x265/template +++ b/srcpkgs/x265/template @@ -14,9 +14,9 @@ homepage="http://x265.org/" distfiles="https://bitbucket.org/multicoreware/x265/downloads/x265_${version}.tar.gz" checksum=6e59f9afc0c2b87a46f98e33b5159d56ffb3558a49d8e3d79cb7fdc6b7aaa863 -if [ "$CROSS_BUILD" ]; then - configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=${CROSS_BUILD%-musl}" -fi +case "$XBPS_TARGET_MACHINE" in + mips*) configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=mips32r2" ;; +esac pre_configure() { if [ "$CROSS_BUILD" ]; then