diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs
index f47aea7..7072e08 100644
|
a
|
b
|
|
| 1393 | 1393 | liftIO $ SysTools.runLlvmOpt dflags |
| 1394 | 1394 | ([ SysTools.FileOption "" input_fn, |
| 1395 | 1395 | SysTools.Option "-o", |
| 1396 | | SysTools.FileOption "" output_fn] |
| | 1396 | SysTools.FileOption "" output_fn, SysTools.Option "-mtriple=arm-unknown-nto-qnx8.0.0eabi"] |
| 1397 | 1397 | ++ optFlag |
| 1398 | 1398 | ++ [SysTools.Option tbaa] |
| 1399 | 1399 | ++ map SysTools.Option lo_opts) |
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index e2f10c7..1fa7f27 100644
|
a
|
b
|
|
| 3376 | 3376 | else let dflags' = dflags { hscTarget = HscLlvm } |
| 3377 | 3377 | warn = "Compiler not unregisterised, so using LLVM rather than compiling via C" |
| 3378 | 3378 | in loop dflags' warn |
| | 3379 | {- |
| 3379 | 3380 | | hscTarget dflags /= HscC && |
| 3380 | 3381 | platformUnregisterised (targetPlatform dflags) |
| 3381 | 3382 | = loop (dflags { hscTarget = HscC }) |
| 3382 | 3383 | "Compiler unregisterised, so compiling via C" |
| | 3384 | -} |
| 3383 | 3385 | | hscTarget dflags == HscAsm && |
| 3384 | 3386 | cGhcWithNativeCodeGen /= "YES" |
| 3385 | 3387 | = let dflags' = dflags { hscTarget = HscLlvm } |