From ee1d8a69ca68b05ee81c234d6b79dc511f823660 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 23 Apr 2021 21:10:25 +0200 Subject: community/nodejs: work around out-of-memory issues when linking --- community/nodejs/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'community/nodejs') diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index 78f686cc..efbf8000 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -5,3 +5,13 @@ eval "$( s|./configure|./configure --dest-cpu ia32|g ' )" + +# linker runs out of memory on 32-bit +eval "$( + declare -f build | \ + sed ' + 3 i LDFLAGS+=" -Wl,--no-keep-memory" + 3 i CFLAGS+=" -g1" + 3 i CXXFLAGS+=" -g1" + ' +)" -- cgit v1.2.3-54-g00ecf