diff options
author | Zach van Rijn <me@zv.io> | 2022-12-19 19:05:18 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-12-23 07:50:17 +0000 |
commit | 0bab8d7ad886dcdcc217a17c08dc1a50327d0d2a (patch) | |
tree | feacba429c5bf39aba72eed7fd2f95cd77c01ab1 | |
parent | 5d1083c1c688a496fbf9565046a1e22309cd9ad5 (diff) | |
download | packages-0bab8d7ad886dcdcc217a17c08dc1a50327d0d2a.tar.gz packages-0bab8d7ad886dcdcc217a17c08dc1a50327d0d2a.tar.bz2 packages-0bab8d7ad886dcdcc217a17c08dc1a50327d0d2a.tar.xz packages-0bab8d7ad886dcdcc217a17c08dc1a50327d0d2a.zip |
user/node: fix link failure on 32-bit platforms.
-rw-r--r-- | user/node/APKBUILD | 6 |
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 \ |