nodejs: reenable ppc64 BE support

While it's not officially listed, it has been reported to still
work fine, and is most likely to keep working fine as BE support
is still required for AIX.

[ci skip]
This commit is contained in:
q66 2019-01-21 00:03:22 +01:00 committed by maxice8
parent 616ba9d948
commit 25b72b7823

View file

@ -38,8 +38,6 @@ 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() {
@ -49,7 +47,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" ;;
ppc64*) _args="--dest-cpu=ppc64 --without-snapshot" ;;
*) msg_error "$pkgver: cannot be cross compiled for ${XBPS_TARGET_MACHINE}.\n" ;;
esac
fi