aboutsummaryrefslogtreecommitdiffstats
path: root/main/nodejs/link-with-libatomic-on-mips32.patch
diff options
context:
space:
mode:
authorTim Brust <tim.brust@sinnerschrader.com>2019-10-28 11:49:12 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-10-29 12:14:13 +0000
commit83248509e435971957582bb985fac43e791abad5 (patch)
treed86e86992443028b8c72270c17bde17209081cb9 /main/nodejs/link-with-libatomic-on-mips32.patch
parentb9ac5cf5974b6b00c847e89e9a66db76c1b25db8 (diff)
downloadaports-83248509e435971957582bb985fac43e791abad5.tar.bz2
aports-83248509e435971957582bb985fac43e791abad5.tar.xz
main/nodejs: upgrade to 12.13.0
Diffstat (limited to 'main/nodejs/link-with-libatomic-on-mips32.patch')
-rw-r--r--main/nodejs/link-with-libatomic-on-mips32.patch22
1 files changed, 18 insertions, 4 deletions
diff --git a/main/nodejs/link-with-libatomic-on-mips32.patch b/main/nodejs/link-with-libatomic-on-mips32.patch
index c4988a0d9f..21f9960d7b 100644
--- a/main/nodejs/link-with-libatomic-on-mips32.patch
+++ b/main/nodejs/link-with-libatomic-on-mips32.patch
@@ -1,6 +1,20 @@
+--- a/tools/v8_gypfiles/v8.gyp
++++ b/tools/v8_gypfiles/v8.gyp
+@@ -2460,6 +2460,11 @@
+ }, {
+ 'toolsets': ['target'],
+ }],
++ [ 'host_arch=="mips" or host_arch=="mipsel"', {
++ 'link_settings': {
++ 'libraries': [ '-latomic' ],
++ },
++ }],
+ ['component=="shared_library"', {
+ 'direct_dependent_settings': {
+ 'defines': [ 'USING_V8_PLATFORM_SHARED' ],
--- a/node.gyp
+++ b/node.gyp
-@@ -478,6 +478,11 @@
+@@ -315,6 +315,11 @@
'msvs_disabled_warnings!': [4244],
'conditions': [
@@ -9,6 +23,6 @@
+ 'libraries': [ '-latomic' ],
+ },
+ }],
- [ 'node_code_cache_path!=""', {
- 'sources': [ '<(node_code_cache_path)' ]
- }, {
+ [ 'node_intermediate_lib_type=="static_library" and '
+ 'node_shared=="true" and OS=="aix"', {
+ # For AIX, shared lib is linked by static lib and .exp. In the