nodejs-lts: add support for ppc64le cross, mark ppc64be broken
[ci skip]
This commit is contained in:
parent
b150c69dbe
commit
bd650db229
|
@ -24,6 +24,11 @@ replaces="iojs>=0"
|
||||||
conflicts="nodejs"
|
conflicts="nodejs"
|
||||||
provides="nodejs-runtime-0_1"
|
provides="nodejs-runtime-0_1"
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
ppc64le*) ;;
|
||||||
|
ppc64*) broken="Node is not supported on ppc64 BE Linux";;
|
||||||
|
esac
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local _args
|
local _args
|
||||||
|
|
||||||
|
@ -32,6 +37,7 @@ do_configure() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
arm*) _args="--dest-cpu=arm --without-snapshot" ;;
|
arm*) _args="--dest-cpu=arm --without-snapshot" ;;
|
||||||
aarch64*) _args="--dest-cpu=arm64 --without-snapshot" ;;
|
aarch64*) _args="--dest-cpu=arm64 --without-snapshot" ;;
|
||||||
|
ppc64le*) _args="--dest-cpu=ppc64 --without-snapshot" ;;
|
||||||
*) msg_error "$pkgver: cannot be cross compiled for ${XBPS_TARGET_MACHINE}\n" ;;
|
*) msg_error "$pkgver: cannot be cross compiled for ${XBPS_TARGET_MACHINE}\n" ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue