From: Jérémy Lal Date: Sat, 22 Jun 2024 12:21:29 +0000 (+0300) Subject: Link to -latomic by default X-Git-Tag: archive/raspbian/18.19.0+dfsg-6_deb12u2+rpi1^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=af0964cd0749febb8a06824a2b2aa1b802d8fc5d;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 9138317c6..111ade54b 100644 --- a/node.gypi +++ b/node.gypi @@ -341,6 +341,9 @@ 'libraries!': [ '-lrt' ], + 'libraries': [ + '-latomic' + ] }], [ 'OS in "freebsd linux"', { 'ldflags': [ '-Wl,-z,relro',