Permalink
Browse files

build: fix v8_enable_handle_zapping override

It was previously ignored by features.gypi and therefore
enabled by default for release builds.

See https://code.google.com/p/chromium/issues/detail?id=318206

PR-URL: #2731
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information...
skomski authored and rvagg committed Sep 7, 2015
1 parent 9358eee commit 0cb0f4a6e499a2a8e8186a8915f0e0af5a03c121
Showing with 2 additions and 2 deletions.
  1. +2 −2 common.gypi
View
@@ -56,7 +56,7 @@
'configurations': {
'Debug': {
'variables': {
'v8_enable_handle_zapping%': 1,
'v8_enable_handle_zapping': 1,
},
'defines': [ 'DEBUG', '_DEBUG' ],
'cflags': [ '-g', '-O0' ],
@@ -83,7 +83,7 @@
},
'Release': {
'variables': {
'v8_enable_handle_zapping%': 0,
'v8_enable_handle_zapping': 0,
},
'cflags': [ '-O3', '-ffunction-sections', '-fdata-sections' ],
'conditions': [

0 comments on commit 0cb0f4a

Please sign in to comment.