Correct check for gcc version
This commit is contained in:
+1
-2
@@ -273,8 +273,7 @@ def functions_find (filepath, functiondeps, functions, options):
|
|||||||
os.system (command)
|
os.system (command)
|
||||||
|
|
||||||
version = subprocess_command(options.compile + ' -dumpversion')
|
version = subprocess_command(options.compile + ' -dumpversion')
|
||||||
version_parts = version.split('.')
|
if version > '4.5.3':
|
||||||
if version_parts[0] >= '5':
|
|
||||||
ext = '.014t.cfg'
|
ext = '.014t.cfg'
|
||||||
else:
|
else:
|
||||||
ext = '.012t.cfg'
|
ext = '.012t.cfg'
|
||||||
|
|||||||
Reference in New Issue
Block a user