From b4840bc3518a1aca7c6eb3b63c9ba4a46c4692ec Mon Sep 17 00:00:00 2001 From: Andy Postnikov Date: Tue, 23 Apr 2019 22:06:24 +0300 Subject: community/nodejs-current: upgrade to 12.2.0 --- .../link-with-libatomic-on-mips32.patch | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'community/nodejs-current/link-with-libatomic-on-mips32.patch') diff --git a/community/nodejs-current/link-with-libatomic-on-mips32.patch b/community/nodejs-current/link-with-libatomic-on-mips32.patch index 1210c69f70..21f9960d7b 100644 --- a/community/nodejs-current/link-with-libatomic-on-mips32.patch +++ b/community/nodejs-current/link-with-libatomic-on-mips32.patch @@ -1,20 +1,20 @@ ---- a/deps/v8/gypfiles/v8.gyp -+++ b/deps/v8/gypfiles/v8.gyp -@@ -2012,6 +2012,11 @@ +--- a/tools/v8_gypfiles/v8.gyp ++++ b/tools/v8_gypfiles/v8.gyp +@@ -2460,6 +2460,11 @@ + }, { + 'toolsets': ['target'], }], - ], - 'conditions': [ + [ 'host_arch=="mips" or host_arch=="mipsel"', { + 'link_settings': { + 'libraries': [ '-latomic' ], + }, + }], ['component=="shared_library"', { - 'defines': [ - 'BUILDING_V8_BASE_SHARED', + 'direct_dependent_settings': { + 'defines': [ 'USING_V8_PLATFORM_SHARED' ], --- a/node.gyp +++ b/node.gyp -@@ -479,6 +479,11 @@ +@@ -315,6 +315,11 @@ 'msvs_disabled_warnings!': [4244], 'conditions': [ @@ -23,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 -- cgit v1.2.3