aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Haddock/GHC.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Haddock/GHC.hs b/src/Haddock/GHC.hs
index 597a6005..0d047080 100644
--- a/src/Haddock/GHC.hs
+++ b/src/Haddock/GHC.hs
@@ -47,6 +47,7 @@ startGhc libDir flags = do
#endif
let dynflags' = dopt_set dynflags Opt_Haddock
let dynflags'' = dynflags' {
+ hscTarget = HscNothing,
ghcMode = CompManager,
ghcLink = NoLink
}