nodejs: broken for 32-bit architecture

This commit is contained in:
Đoàn Trần Công Danh 2020-09-13 07:23:21 +07:00
parent 0dc98a2948
commit 40a82780c1

View file

@ -33,6 +33,11 @@ replaces="iojs>=0"
conflicts="nodejs-lts nodejs-lts-10"
provides="nodejs-runtime-0_1"
# https://build.voidlinux.org/builders/i686_builder/builds/27325/steps/shell_3/logs/stdio
if [ "$XBPS_WORDSIZE" = 32 ]; then
broken="/usr/bin/ld: failed to set dynamic section sizes: memory exhausted"
fi
if [ "$XBPS_WORDSIZE" -ne "$XBPS_TARGET_WORDSIZE" ]; then
nocross="host and target must have the same pointer size"
fi