Commit 388e1e82 authored by Simon Marlow's avatar Simon Marlow

Allow -fllvm to be used when compiling unregisterised (#7622)

parent 72995160
......@@ -3376,7 +3376,7 @@ makeDynFlagsConsistent dflags
else let dflags' = dflags { hscTarget = HscLlvm }
warn = "Compiler not unregisterised, so using LLVM rather than compiling via C"
in loop dflags' warn
| hscTarget dflags /= HscC &&
| hscTarget dflags /= HscC && hscTarget dflags /= HscLlvm &&
platformUnregisterised (targetPlatform dflags)
= loop (dflags { hscTarget = HscC })
"Compiler unregisterised, so compiling via C"
......
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