From b150c69dbe5db80fba030050b664d2613e22b38e Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 14 Dec 2018 18:29:35 +0100 Subject: [PATCH] nodejs: add support for ppc64le cross, mark ppc64be broken --- srcpkgs/nodejs/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/nodejs/template b/srcpkgs/nodejs/template index 0576e6757c..6f50825bd0 100644 --- a/srcpkgs/nodejs/template +++ b/srcpkgs/nodejs/template @@ -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