nodejs: add support for ppc64le cross, mark ppc64be broken
This commit is contained in:
parent
e4c0e45f15
commit
b150c69dbe
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue