Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,15 @@
],

'conditions': [
# node_snapshot.cc (generated) is compiled in this target and includes
# node_options.h; without HAVE_INSPECTOR here EnvironmentOptions lacks the
# inspector members (ODR violation with node_base, -Wodr; with LTO node
# crashed on exit with "free(): invalid pointer"). Same as node_base.
[ 'v8_enable_inspector==1', {
'defines': [ 'HAVE_INSPECTOR=1' ],
}, {
'defines': [ 'HAVE_INSPECTOR=0' ],
}],
[ 'node_builtin_modules_path!=""', {
# When loading builtins from disk, JS source files do not need to
# trigger rebuilds since the binary reads them at runtime.
Expand Down