x265: fix cross build
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user