diff options
author | David Waern <david.waern@gmail.com> | 2008-11-08 13:43:42 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2008-11-08 13:43:42 +0000 |
commit | 9cc1521bc9d22deab9b34ee14e455c76edf7ee36 (patch) | |
tree | 6e18219407538340c41a7f9d14cc2d004aa18f76 /src/Haddock | |
parent | 16313cde6d67da8b3eae3a1ca10e6f430f4a7704 (diff) |
Set HscTarget to HscNothing instead of HscAsm
There used to be a bug in the GHC API that prevented us from setting this
value.
Diffstat (limited to 'src/Haddock')
-rw-r--r-- | src/Haddock/GHC.hs | 2 |
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 } |