From: Jérémy Lal Date: Wed, 11 Jan 2023 16:42:19 +0000 (+0000) Subject: Link to -latomic by default X-Git-Tag: archive/raspbian/18.13.0+dfsg1-1+rpi1^2~19 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1b0e5d318a0314da2e9a0c2caed75e25e677f925;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 059df00bc..ec118b19c 100644 --- a/node.gypi +++ b/node.gypi @@ -230,6 +230,11 @@ '-lkvm', ], }], + [ 'OS=="linux"', { + 'libraries': [ + '-latomic', + ], + }], [ 'OS=="aix"', { 'defines': [ '_LINUX_SOURCE_COMPAT',