aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Haddock/GHC.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/GHC.hs b/src/Haddock/GHC.hs
index 8c83912a..ff68f8bf 100644
--- a/src/Haddock/GHC.hs
+++ b/src/Haddock/GHC.hs
@@ -37,7 +37,7 @@ startGhc libDir flags = do
dynflags <- getSessionDynFlags session
let dynflags' = dopt_set dynflags Opt_Haddock
let dynflags'' = dynflags' {
- hscTarget = HscNothing,
+ hscTarget = HscAsm,
ghcMode = CompManager,
ghcLink = NoLink
}