From 78526d14185bbb0d8823a26261ce18c44949dcee Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Thu, 29 Aug 2024 10:25:23 +0200 Subject: [PATCH] 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 --- node.gypi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/node.gypi b/node.gypi index e908076ae..20ec79a64 100644 --- a/node.gypi +++ b/node.gypi @@ -342,6 +342,9 @@ 'libraries!': [ '-lrt' ], + 'libraries': [ + '-latomic' + ] }], [ 'OS in "freebsd linux"', { 'ldflags': [ '-Wl,-z,relro', -- 2.30.2