Skip to content
Permalink
Browse files

configure: `v8_use_snapshot` should be `true`

`v8_use_snapshot` should be either `true` or `false`, not 1 or 0.

PR-URL: #3962
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
  • Loading branch information...
indutny authored and rvagg committed Nov 22, 2015
1 parent b81b45d commit f29c5d6e703fd38245a808af15eee98ee82baf98
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit f29c5d6

Please sign in to comment.
You can’t perform that action at this time.