From 49b3c3b872b751947da903006316721ac0a77751 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Sat, 21 Nov 2015 20:21:11 -0500 Subject: [PATCH] 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 6bb85a8283..0e83d8a8d7 100755 --- a/configure +++ b/configure @@ -768,7 +768,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)