From: Jérémy Lal Date: Fri, 8 Nov 2024 19:05:21 +0000 (+0100) Subject: Link to -latomic by default X-Git-Tag: archive/raspbian/20.18.0+dfsg-2+rpi1^2~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=79971e7641f0d1f3db6380641e60cf3b788f43a4;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 46c7c7e35..0e4a32df5 100644 --- a/node.gypi +++ b/node.gypi @@ -346,6 +346,9 @@ 'libraries!': [ '-lrt' ], + 'libraries': [ + '-latomic' + ] }], [ 'OS in "freebsd linux"', { 'ldflags': [ '-Wl,-z,relro',