x265: fix cross build

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-06-22 12:46:10 +02:00
parent 77431c4ce8
commit 0b5c97ab6a
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

View file

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