Browse Source

Fix gcc version checking for aliasing features

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
975d020286
  1. 2
      deps/v8/SConstruct

2
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'

Loading…
Cancel
Save