From 48675784fe6e3d575818c359c9892c5f508c9cc3 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sun, 18 May 2014 14:58:43 +0200 Subject: [PATCH] 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 --- common.gypi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common.gypi b/common.gypi index 42ab572..cfee8a1 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"', { -- 2.7.4