nodejs-16_x: 16.5.0 -> 16.6.1

https://github.com/nodejs/node/releases/tag/v16.6.0
https://github.com/nodejs/node/releases/tag/v16.6.1
(cherry picked from commit 0066c05ae2cfa7b7d56b8bd47468bb34d45fb092)
This commit is contained in:
Mario Rodas
2021-08-08 04:20:00 +00:00
parent bcbbb4bc44
commit 4795a1882d
2 changed files with 20 additions and 11 deletions
@@ -0,0 +1,16 @@
Disable v8 system instrumentation on Darwin
On Darwin, the v8 system instrumentation requires the header "os/signpost.h"
which is available since apple_sdk 11+. See: https://github.com/nodejs/node/issues/39584
--- old/tools/v8_gypfiles/features.gypi
+++ new/tools/v8_gypfiles/features.gypi
@@ -62,7 +62,7 @@
}, {
'is_component_build': 0,
}],
- ['OS == "win" or OS == "mac"', {
+ ['OS == "win"', {
# Sets -DSYSTEM_INSTRUMENTATION. Enables OS-dependent event tracing
'v8_enable_system_instrumentation': 1,
}, {