From 270a456fb5e2e2a6e7ea4de839ba466b2cca3da1 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Mon, 18 Jul 2022 11:57:22 +0800 Subject: [PATCH] reduce linker memory in an attempt to make the builds pass on Launchpad Gbp-Pq: Name reduce-linker-memory.patch --- node.gyp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/node.gyp b/node.gyp index ad572f89..82ba8bbe 100644 --- a/node.gyp +++ b/node.gyp @@ -1308,6 +1308,9 @@ 'Ws2_32.lib', ], }], + ['(target_arch=="ppc64" or target_arch=="arm" or target_arch=="arm64")', { + 'ldflags': [ '-Wl,--no-keep-memory' ], + }], ], }, # node_mksnapshot ], # end targets