From: Jérémy Lal Date: Mon, 20 Apr 2020 07:44:09 +0000 (+0100) Subject: Link to -latomic by default X-Git-Tag: archive/raspbian/10.19.0_dfsg1-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ba11f4a7e40459cb857a92df8ac0d09cfcc64640;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: Name atomic.patch --- 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',