From 975d02028608a59340ac33f234e3b981e2813b30 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 18 Mar 2011 10:01:45 -0700 Subject: [PATCH] Fix gcc version checking for aliasing features --- deps/v8/SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/v8/SConstruct b/deps/v8/SConstruct index 436581a9ba..d76f708b83 100644 --- a/deps/v8/SConstruct +++ b/deps/v8/SConstruct @@ -694,7 +694,7 @@ def GuessStrictAliasing(env): env = Environment(tools=['gcc']) version = subprocess.Popen([env['CC'], '-dumpversion'], stdout=subprocess.PIPE).communicate()[0] - if version.find('4.5.') == 0: + if version.find('4.5') == 0: return 'off' return 'default'