diff --git a/patches/node.v16.0.0.cpp.patch b/patches/node.v16.1.0.cpp.patch similarity index 97% rename from patches/node.v16.0.0.cpp.patch rename to patches/node.v16.1.0.cpp.patch index a7db9893..0f5f08d1 100644 --- a/patches/node.v16.0.0.cpp.patch +++ b/patches/node.v16.1.0.cpp.patch @@ -495,15 +495,3 @@ index 0000000000..fb2d47f52b 'cflags_cc!': [ '-fno-rtti' ], }], [ 'OS == "mac" or OS == "ios"', { ---- node/tools/v8_gypfiles/v8.gyp -+++ node/tools/v8_gypfiles/v8.gyp -@@ -1378,6 +1378,9 @@ - '<(V8_ROOT)/src/heap/base/worklist.h', - ], - 'conditions': [ -+ ['enable_lto=="true"', { -+ 'cflags_cc': [ '-fno-lto' ], -+ }], - ['clang or OS!="win"', { - 'conditions': [ - ['_toolset == "host" and host_arch == "x64" or _toolset == "target" and target_arch=="x64"', { diff --git a/patches/patches.json b/patches/patches.json index 83b4376a..9c6b76ea 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -1,5 +1,5 @@ { - "v16.0.0": ["node.v16.0.0.cpp.patch"], + "v16.1.0": ["node.v16.1.0.cpp.patch"], "v14.16.1": ["node.v14.16.1.cpp.patch"], "v12.22.1": ["node.v12.22.1.cpp.patch"], "v10.24.1": ["node.v10.24.1.cpp.patch"],