Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Fix gcc version checking for aliasing features
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Mar 18, 2011
1 parent af92315 commit 975d020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/v8/SConstruct
Expand Up @@ -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'

Expand Down

0 comments on commit 975d020

Please sign in to comment.