x265: fix cross build
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
77431c4ce8
commit
0b5c97ab6a
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue