Ignore requests to use backends that aren't available; fixes #5145
[ghc-hetmet.git] / compiler / main / CodeOutput.lhs
index 7cfc2e9..f5e3394 100644 (file)
@@ -156,8 +156,7 @@ outputAsm dflags filenm flat_absC
                  nativeCodeGen dflags f ncg_uniqs flat_absC
 
  | otherwise
-  = pprPanic "This compiler was built without a native code generator"
-             (text "Use -fvia-C instead")
+  = panic "This compiler was built without a native code generator"
 \end{code}