Skip to content

Commit 4867578

Browse files
bnoordhuistjfontaine
authored andcommitted
build: disable v8 handle zapping
See also commit e7bfbaf. Don't depend on deps/v8/build/features.gypi to disable handle zapping, be explicit about it. Signed-off-by: Timothy J Fontaine <[email protected]>
1 parent 4729202 commit 4867578

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

common.gypi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
'default_configuration': 'Release',
3636
'configurations': {
3737
'Debug': {
38+
'variables': {
39+
'v8_enable_handle_zapping%': 1,
40+
},
3841
'defines': [ 'DEBUG', '_DEBUG' ],
3942
'cflags': [ '-g', '-O0' ],
4043
'conditions': [
@@ -59,6 +62,9 @@
5962
},
6063
},
6164
'Release': {
65+
'variables': {
66+
'v8_enable_handle_zapping%': 0,
67+
},
6268
'cflags': [ '-O3', '-ffunction-sections', '-fdata-sections' ],
6369
'conditions': [
6470
['target_arch=="x64"', {

0 commit comments

Comments
 (0)