summaryrefslogtreecommitdiff
path: root/emxccompiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'emxccompiler.py')
-rw-r--r--emxccompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emxccompiler.py b/emxccompiler.py
index d9ee82d5..62a4c5b4 100644
--- a/emxccompiler.py
+++ b/emxccompiler.py
@@ -300,7 +300,7 @@ def get_versions():
out = os.popen(gcc_exe + ' -dumpversion','r')
out_string = out.read()
out.close()
- result = re.search('(\d+\.\d+\.\d+)',out_string)
+ result = re.search('(\d+\.\d+\.\d+)', out_string, re.ASCII)
if result:
gcc_version = StrictVersion(result.group(1))
else: