Correct check for gcc version

This commit is contained in:
Michael Hayes
2013-09-20 15:44:30 +12:00
parent 650ffc7b17
commit f66d6c0770
+1 -2
View File
@@ -273,8 +273,7 @@ def functions_find (filepath, functiondeps, functions, options):
os.system (command)
version = subprocess_command(options.compile + ' -dumpversion')
version_parts = version.split('.')
if version_parts[0] >= '5':
if version > '4.5.3':
ext = '.014t.cfg'
else:
ext = '.012t.cfg'