From: Jérémy Lal Date: Wed, 19 Jun 2024 10:03:27 +0000 (+0200) Subject: Link to -latomic by default X-Git-Tag: archive/raspbian/20.14.0+dfsg-3+rpi1^2~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2adf0f244a185fb23e2bf50e77a3836c7963ae27;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 95133818d..3be658b4e 100644 --- a/node.gypi +++ b/node.gypi @@ -342,6 +342,9 @@ 'libraries!': [ '-lrt' ], + 'libraries': [ + '-latomic' + ] }], [ 'OS in "freebsd linux"', { 'ldflags': [ '-Wl,-z,relro',