Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / web / nodejs / disable-darwin-v8-system-instrumentation.patch
blob63e9107b33d01d0a2f19e249ecdc611ad48f4a95
1 Disable v8 system instrumentation on Darwin
3 On Darwin, the v8 system instrumentation requires the header "os/signpost.h"
4 which is available since apple_sdk 11+. See: https://github.com/nodejs/node/issues/39584
6 --- old/tools/v8_gypfiles/features.gypi
7 +++ new/tools/v8_gypfiles/features.gypi
8 @@ -62,7 +62,7 @@
9 }, {
10 'is_component_build': 0,
11 }],
12 - ['OS == "win" or OS == "mac"', {
13 + ['OS == "win"', {
14 # Sets -DSYSTEM_INSTRUMENTATION. Enables OS-dependent event tracing
15 'v8_enable_system_instrumentation': 1,
16 }, {