Commit 9c9e2491 authored by Ian Lynagh's avatar Ian Lynagh

In older compilers, only try to remove the profthreaded way if it exists

Otherwise the testsuite driver fails.
parent be6233ff
......@@ -103,7 +103,7 @@ def get_compiler_info():
config.compiler_tags = v[1:]
# remove profthreaded for GHC <6.9, it didn't work
if version_lt(config.compiler_version, '6.9'):
if ('profthreaded' in config.run_ways) and version_lt(config.compiler_version, '6.9'):
config.run_ways.remove('profthreaded')
if version_ge(config.compiler_version, '6.9'):
......
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