summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2015-11-21 20:21:11 -0500
committerFedor Indutny <fedor@indutny.com>2015-11-21 21:15:11 -0500
commit91ccbf0201b97bfef4d505ba8d1b2229d541393e (patch)
tree1c00d7d77c96a65fb891441679e6ac9e6d5f9026 /configure
parentc83d9b7065e91ef68daa503b58f76f84cdaf5528 (diff)
downloadnode-new-91ccbf0201b97bfef4d505ba8d1b2229d541393e.tar.gz
configure: `v8_use_snapshot` should be `true`
`v8_use_snapshot` should be either `true` or `false`, not 1 or 0. PR-URL: https://github.com/nodejs/node/pull/3962 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 381ddd471b..8dccf8a32a 100755
--- a/configure
+++ b/configure
@@ -777,7 +777,7 @@ def configure_v8(o):
o['variables']['v8_no_strict_aliasing'] = 1 # Work around compiler bugs.
o['variables']['v8_optimized_debug'] = 0 # Compile with -O0 in debug builds.
o['variables']['v8_random_seed'] = 0 # Use a random seed for hash tables.
- o['variables']['v8_use_snapshot'] = 0 if options.without_snapshot else 1
+ o['variables']['v8_use_snapshot'] = 'false' if options.without_snapshot else 'true'
def configure_openssl(o):
o['variables']['node_use_openssl'] = b(not options.without_ssl)