From bc89866cfded753605c5bc4e51109bceb0b27ec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Tue, 16 Aug 2022 11:14:23 +0800 Subject: [PATCH] Link to -latomic by default This avoids surprises on mips*el/ppc*el Last-Update: 2019-10-25 Forwarded: not-needed Bug: https://github.com/nodejs/node/pull/28532 Bug: https://github.com/nodejs/node/issues/30093 Gbp-Pq: Name atomic.patch --- node.gypi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/node.gypi b/node.gypi index 116c1c71..3187ed0f 100644 --- a/node.gypi +++ b/node.gypi @@ -210,6 +210,11 @@ '-lkvm', ], }], + [ 'OS=="linux"', { + 'libraries': [ + '-latomic', + ], + }], [ 'OS=="aix"', { 'defines': [ '_LINUX_SOURCE_COMPAT',