From 146b2e267b533d31a537414a6a1bb7009b814974 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 8 Nov 2013 22:23:59 +0100 Subject: [PATCH] build: make v8 use random seed for hash tables Upstream V8 as of commit v8/v8@4bc70e8 uses a fixed seed of 314159265 for hash tables unless instructed otherwise. Tell V8 to keep using a random seed. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index b3a8b46..14455f4 100755 --- a/configure +++ b/configure @@ -436,7 +436,8 @@ def configure_node(o): if options.dest_os == 'android': o['variables']['OS'] = 'android' o['variables']['v8_enable_gdbjit'] = 1 if options.gdb else 0 - o['variables']['v8_no_strict_aliasing'] = 1 # work around compiler bugs + o['variables']['v8_no_strict_aliasing'] = 1 # Work around compiler bugs. + o['variables']['v8_random_seed'] = 0 # Use a random seed for hash tables. o['variables']['node_prefix'] = os.path.expanduser(options.prefix or '') o['variables']['node_install_npm'] = b(not options.without_npm) o['default_configuration'] = 'Debug' if options.debug else 'Release' -- 2.7.4