summary refs log tree commit diff
path: root/pkgs/development/web/nodejs/disable-libatomic-darwin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/web/nodejs/disable-libatomic-darwin.patch')
-rw-r--r--pkgs/development/web/nodejs/disable-libatomic-darwin.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/web/nodejs/disable-libatomic-darwin.patch b/pkgs/development/web/nodejs/disable-libatomic-darwin.patch
new file mode 100644
index 00000000000..7ac6c2ef895
--- /dev/null
+++ b/pkgs/development/web/nodejs/disable-libatomic-darwin.patch
@@ -0,0 +1,11 @@
+--- a/node.gyp
++++ b/node.gyp
+@@ -289,7 +289,7 @@
+           '-Wl,-bnoerrmsg',
+         ],
+       }],
+-      ['OS in ("linux", "mac") and llvm_version != "0.0"', {
++      ['OS == "linux" and llvm_version != "0.0"', {
+         'libraries': ['-latomic'],
+       }],
+     ],