Commit 5fcfdb3b authored by Ian Lynagh's avatar Ian Lynagh

Fix the unregisterised build

parent d52cb8fd
......@@ -144,10 +144,10 @@ outputC dflags filenm flat_absC packages
\begin{code}
outputAsm :: DynFlags -> FilePath -> [RawCmm] -> IO ()
outputAsm dflags filenm flat_absC
#ifndef OMIT_NATIVE_CODEGEN
outputAsm dflags filenm flat_absC
= do ncg_uniqs <- mkSplitUniqSupply 'n'
{-# SCC "OutputAsm" #-} doOutput filenm $
......@@ -157,6 +157,7 @@ outputAsm dflags filenm flat_absC
#else /* OMIT_NATIVE_CODEGEN */
outputAsm _ _ _
= pprPanic "This compiler was built without a native code generator"
(text "Use -fvia-C instead")
......
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