summaryrefslogtreecommitdiff
path: root/user/node
diff options
context:
space:
mode:
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 \