From: Jérémy Lal Date: Sat, 8 Aug 2020 12:09:43 +0000 (+0100) Subject: Link to -latomic by default X-Git-Tag: archive/raspbian/18.12.1+dfsg-2+rpi1~1^2^2^2^2^2^2^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6d38ec87926a09022419ace14be002a1a7c1fa50;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 116c1c714..3187ed0f7 100644 --- a/node.gypi +++ b/node.gypi @@ -210,6 +210,11 @@ '-lkvm', ], }], + [ 'OS=="linux"', { + 'libraries': [ + '-latomic', + ], + }], [ 'OS=="aix"', { 'defines': [ '_LINUX_SOURCE_COMPAT',