nodejs-lts: add support for ppc64le cross, mark ppc64be broken
[ci skip]
This commit is contained in:
parent
b150c69dbe
commit
bd650db229
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,11 @@ replaces="iojs>=0"
|
|||
conflicts="nodejs"
|
||||
provides="nodejs-runtime-0_1"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64le*) ;;
|
||||
ppc64*) broken="Node is not supported on ppc64 BE Linux";;
|
||||
esac
|
||||
|
||||
do_configure() {
|
||||
local _args
|
||||
|
||||
|
@ -32,6 +37,7 @@ do_configure() {
|
|||
case "$XBPS_TARGET_MACHINE" in
|
||||
arm*) _args="--dest-cpu=arm --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" ;;
|
||||
esac
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue