File linker_lto_jobs.patch of Package nodejs12.16600

Purpose of these dependencies is to make sure that the linker
is run serially over these binaries instead of in parallel.
OBS workers run out of memory as each executable seems to require
upward of 5G RAM

Index: node-v12.16.2/node.gyp
===================================================================
--- node-v12.16.2.orig/node.gyp
+++ node-v12.16.2/node.gyp
@@ -1198,6 +1198,7 @@
         '<(node_lib_target_name)',
         'deps/histogram/histogram.gyp:histogram',
         'deps/uvwasi/uvwasi.gyp:uvwasi',
+        'cctest',
       ],
 
       'includes': [
@@ -1253,6 +1254,7 @@
         '<(node_lib_target_name)',
         'deps/histogram/histogram.gyp:histogram',
         'deps/uvwasi/uvwasi.gyp:uvwasi',
+        'mkcodecache'
       ],
 
       'includes': [
openSUSE Build Service is sponsored by