aboutsummaryrefslogtreecommitdiffstats
path: root/community/nodejs-current/link-with-libatomic-on-mips32.patch
blob: 1210c69f70175a5f5bf068f1d5b61bc6055b92f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- a/deps/v8/gypfiles/v8.gyp
+++ b/deps/v8/gypfiles/v8.gyp
@@ -2012,6 +2012,11 @@
         }],
       ],
       'conditions': [
+        [ 'host_arch=="mips" or host_arch=="mipsel"', {
+          'link_settings': {
+            'libraries': [ '-latomic' ],
+          },
+        }],
         ['component=="shared_library"', {
           'defines': [
             'BUILDING_V8_BASE_SHARED',
--- a/node.gyp
+++ b/node.gyp
@@ -479,6 +479,11 @@
       'msvs_disabled_warnings!': [4244],
 
       'conditions': [
+        [ 'host_arch=="mips" or host_arch=="mipsel"', {
+          'link_settings': {
+            'libraries': [ '-latomic' ],
+          },
+        }],
         [ 'node_code_cache_path!=""', {
           'sources': [ '<(node_code_cache_path)' ]
         }, {