nodejs: add support for ppc64le cross, mark ppc64be broken

This commit is contained in:
q66 2018-12-14 18:29:35 +01:00 committed by Helmut Pozimski
parent e4c0e45f15
commit b150c69dbe

View file

@ -38,6 +38,8 @@ case "$XBPS_TARGET_MACHINE" in
x86_64*|aarch64*)
nocross="Can't cross-compile to 32bit-host from 64bit-host";;
esac ;;
ppc64le*) ;;
ppc64*) broken="Node is not supported on ppc64 BE Linux";;
esac
do_configure() {
@ -47,6 +49,7 @@ do_configure() {
if [ "$CROSS_BUILD" ]; then
case "$XBPS_TARGET_MACHINE" in
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