aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c53c3a83..0d047080 100644
--- a/src/Haddock/GHC.hs
+++ b/src/Haddock/GHC.hs
@@ -47,7 +47,7 @@ startGhc libDir flags = do
#endif
let dynflags' = dopt_set dynflags Opt_Haddock
let dynflags'' = dynflags' {
- hscTarget = HscAsm,
+ hscTarget = HscNothing,
ghcMode = CompManager,
ghcLink = NoLink
}