From f66d6c07702e314dd7ef624133b0a3f36530da78 Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Fri, 20 Sep 2013 15:44:30 +1200 Subject: [PATCH] Correct check for gcc version --- etc/makemake.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/makemake.py b/etc/makemake.py index 977811f..c6385e0 100755 --- a/etc/makemake.py +++ b/etc/makemake.py @@ -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'