From 43ef053e0ffcd39d7078caab2c28413d6dd41927 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Sun, 2 Feb 2025 01:03:59 +0100 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 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', -- 2.30.2