From 0b5c97ab6a035b843945fe7bdd53611700e44e8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 22 Jun 2018 12:46:10 +0200 Subject: [PATCH] x265: fix cross build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/x265/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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