From: Jérémy Lal Date: Fri, 12 Aug 2022 15:21:50 +0000 (+0100) Subject: Link to -latomic by default X-Git-Tag: archive/raspbian/18.12.1+dfsg-2+rpi1~1^2^2^2~20 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5def3eff7f4edd04ab1f119e1c1080dbf57a0c5f;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 d24928df8..4cb04324f 100644 --- a/node.gypi +++ b/node.gypi @@ -222,6 +222,11 @@ '-lkvm', ], }], + [ 'OS=="linux"', { + 'libraries': [ + '-latomic', + ], + }], [ 'OS=="aix"', { 'defines': [ '_LINUX_SOURCE_COMPAT',