summaryrefslogblamecommitdiff
path: root/user/node/libatomic.patch
blob: fc2e4ffd2e94d2da6e5f5a1f945f05509a2df3cd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                            
--- node-v10.15.3/node.gyp.old	2019-03-05 15:16:32.000000000 +0000
+++ node-v10.15.3/node.gyp	2019-04-06 13:54:51.204939193 +0000
@@ -479,6 +479,11 @@
       'msvs_disabled_warnings!': [4244],
 
       'conditions': [
+        [ 'host_arch=="mips" or host_arch=="mipsel" or host_arch=="ppc"', {
+	  'link_settings': {
+	    'libraries': [ '-latomic' ],
+	  },
+	}],
         [ 'node_code_cache_path!=""', {
           'sources': [ '<(node_code_cache_path)' ]
         }, {