summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-11-08 22:23:59 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2013-11-08 22:26:50 +0100
commit146b2e267b533d31a537414a6a1bb7009b814974 (patch)
tree40484717b35617e248243f395f05f366198d778e /configure
parent0619467bd349af64c89ac0c325e8663026364bbf (diff)
downloadnode-new-146b2e267b533d31a537414a6a1bb7009b814974.tar.gz
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index b3a8b46ad6..14455f4f77 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'