Description: Link to -latomic by default
 This avoids surprises on mips*el/ppc*el
Author: Jérémy Lal <kapouer@melix.org>
Last-Update: 2019-10-25
Forwarded: not-needed
Bug: https://github.com/nodejs/node/pull/28532
Bug: https://github.com/nodejs/node/issues/30093
--- a/node.gypi
+++ b/node.gypi
@@ -227,6 +227,11 @@
         '-lkvm',
       ],
     }],
+    [ 'OS=="linux"', {
+      'libraries': [
+        '-latomic',
+      ],
+    }],
     [ 'OS=="aix"', {
       'defines': [
         '_LINUX_SOURCE_COMPAT',
