From ba11f4a7e40459cb857a92df8ac0d09cfcc64640 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Mon, 20 Apr 2020 08:44:09 +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: Name atomic.patch --- node.gypi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/node.gypi b/node.gypi index 466a17468..dfba39e05 100644 --- a/node.gypi +++ b/node.gypi @@ -227,6 +227,11 @@ '-lkvm', ], }], + [ 'OS=="linux"', { + 'libraries': [ + '-latomic', + ], + }], [ 'OS=="aix"', { 'defines': [ '_LINUX_SOURCE_COMPAT', -- 2.30.2