diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-03-18 10:01:45 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-03-18 10:01:45 -0700 |
commit | 975d02028608a59340ac33f234e3b981e2813b30 (patch) | |
tree | 29c7a6f2b2d5d8483f447132309e83c5153783c3 /deps/v8 | |
parent | af923154e23853598296b6c9cd7d3d3dabaeacd1 (diff) | |
download | node-new-975d02028608a59340ac33f234e3b981e2813b30.tar.gz |
Fix gcc version checking for aliasing features
Diffstat (limited to 'deps/v8')
-rw-r--r-- | deps/v8/SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
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' |