nodejs: add support for ppc64le cross, mark ppc64be broken
This commit is contained in:
parent
e4c0e45f15
commit
b150c69dbe
|
@ -38,6 +38,8 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*|aarch64*)
|
x86_64*|aarch64*)
|
||||||
nocross="Can't cross-compile to 32bit-host from 64bit-host";;
|
nocross="Can't cross-compile to 32bit-host from 64bit-host";;
|
||||||
esac ;;
|
esac ;;
|
||||||
|
ppc64le*) ;;
|
||||||
|
ppc64*) broken="Node is not supported on ppc64 BE Linux";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
@ -47,6 +49,7 @@ do_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
aarch64*) _args="--dest-cpu=arm64 --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" ;;
|
*) msg_error "$pkgver: cannot be cross compiled for ${XBPS_TARGET_MACHINE}.\n" ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue