Commit 26584c35 authored by Ian Lynagh's avatar Ian Lynagh

Fix reading the --info outputs on Windows

parent 33c1db1f
......@@ -122,10 +122,12 @@ def get_compiler_info():
# This should really not go through the shell
h = os.popen('"' + config.compiler + '" --info', 'r')
s = h.read()
s = re.sub('[\r\n]', '', s)
h.close()
compilerInfoDict = dict(eval(s))
h = os.popen('"' + config.compiler + '" +RTS --info', 'r')
s = h.read()
s = re.sub('[\r\n]', '', s)
h.close()
rtsInfoDict = dict(eval(s))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment