From: Jérémy Lal Date: Tue, 15 Nov 2022 03:51:54 +0000 (+0000) Subject: Link to -latomic by default X-Git-Tag: archive/raspbian/18.12.1+dfsg-2+rpi1~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=55a87e7e5291df7790ed67e340b755617f70e413;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: Topic build Gbp-Pq: Name flag_atomic.patch --- diff --git a/node.gypi b/node.gypi index e469716b0..8960929d9 100644 --- a/node.gypi +++ b/node.gypi @@ -222,6 +222,11 @@ '-lkvm', ], }], + [ 'OS=="linux"', { + 'libraries': [ + '-latomic', + ], + }], [ 'OS=="aix"', { 'defines': [ '_LINUX_SOURCE_COMPAT',