Skip to content

Commit

Permalink
build: disable v8 handle zapping
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
bnoordhuis authored and tjfontaine committed May 22, 2014
1 parent 4729202 commit 4867578
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
'default_configuration': 'Release',
'configurations': {
'Debug': {
'variables': {
'v8_enable_handle_zapping%': 1,
},
'defines': [ 'DEBUG', '_DEBUG' ],
'cflags': [ '-g', '-O0' ],
'conditions': [
Expand All @@ -59,6 +62,9 @@
},
},
'Release': {
'variables': {
'v8_enable_handle_zapping%': 0,
},
'cflags': [ '-O3', '-ffunction-sections', '-fdata-sections' ],
'conditions': [
['target_arch=="x64"', {
Expand Down

0 comments on commit 4867578

Please sign in to comment.