summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-05-18 14:58:43 +0200
committerTimothy J Fontaine <tjfontaine@gmail.com>2014-05-22 10:31:29 -0700
commit48675784fe6e3d575818c359c9892c5f508c9cc3 (patch)
treecec2a081e905613c048a4bc802d087f390038487 /common.gypi
parent4729202d1ef102794616fbc460af6b2ac2a31131 (diff)
downloadnode-new-48675784fe6e3d575818c359c9892c5f508c9cc3.tar.gz
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 <tjfontaine@gmail.com>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index 42ab572c65..cfee8a1f6e 100644
--- a/common.gypi
+++ b/common.gypi
@@ -35,6 +35,9 @@
'default_configuration': 'Release',
'configurations': {
'Debug': {
+ 'variables': {
+ 'v8_enable_handle_zapping%': 1,
+ },
'defines': [ 'DEBUG', '_DEBUG' ],
'cflags': [ '-g', '-O0' ],
'conditions': [
@@ -59,6 +62,9 @@
},
},
'Release': {
+ 'variables': {
+ 'v8_enable_handle_zapping%': 0,
+ },
'cflags': [ '-O3', '-ffunction-sections', '-fdata-sections' ],
'conditions': [
['target_arch=="x64"', {