summaryrefslogtreecommitdiff
path: root/user/node
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-12-19 19:05:18 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-12-23 07:50:17 +0000
commit0bab8d7ad886dcdcc217a17c08dc1a50327d0d2a (patch)
treefeacba429c5bf39aba72eed7fd2f95cd77c01ab1 /user/node
parent5d1083c1c688a496fbf9565046a1e22309cd9ad5 (diff)
downloadpackages-0bab8d7ad886dcdcc217a17c08dc1a50327d0d2a.tar.gz
packages-0bab8d7ad886dcdcc217a17c08dc1a50327d0d2a.tar.bz2
packages-0bab8d7ad886dcdcc217a17c08dc1a50327d0d2a.tar.xz
packages-0bab8d7ad886dcdcc217a17c08dc1a50327d0d2a.zip
user/node: fix link failure on 32-bit platforms.
Diffstat (limited to 'user/node')
-rw-r--r--user/node/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/node/APKBUILD b/user/node/APKBUILD
index 1d0b54d25..c95f67c53 100644
--- a/user/node/APKBUILD
+++ b/user/node/APKBUILD
@@ -34,6 +34,12 @@ builddir="$srcdir/$pkgname-v$pkgver"
# - CVE-2020-8174
build() {
+ case "${CARCH}" in
+ armv7|ppc|pmmx) # ld: final link failed: memory exhausted
+ export CXXFLAGS="${CXXFLAGS} -g0";
+ ;;
+ esac
+
python3 configure.py \
--prefix=/usr \
--shared-zlib \