From: Jérémy Lal Date: Thu, 4 Jun 2020 00:35:16 +0000 (+0100) Subject: Link to -latomic by default X-Git-Tag: archive/raspbian/10.21.0_dfsg-1_deb10u1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1542da1437d277ca03a07ada23cf674eeb6e1caa;p=nodejs.git Link to -latomic by default Last-Update: 2019-10-25 Forwarded: not-needed Bug: https://github.com/nodejs/node/pull/28532 Bug: https://github.com/nodejs/node/issues/30093 This avoids surprises on mips*el/ppc*el Gbp-Pq: Name atomic.patch --- diff --git a/node.gypi b/node.gypi index 466a17468..dfba39e05 100644 --- a/node.gypi +++ b/node.gypi @@ -227,6 +227,11 @@ '-lkvm', ], }], + [ 'OS=="linux"', { + 'libraries': [ + '-latomic', + ], + }], [ 'OS=="aix"', { 'defines': [ '_LINUX_SOURCE_COMPAT',