aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/GHC.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/GHC.hs')
-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
}