X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fmain%2FGHC.hs;h=3f91af6cc465362ab0fb124e2664f941cd74a1ab;hb=28a464a75e14cece5db40f2765a29348273ff2d2;hp=b2c86df78245607b4fac97019983d05aa65823fc;hpb=3eacdc7faf0d0e87a7201253f9f12c1fb4db7249;p=ghc-hetmet.git diff --git a/ghc/compiler/main/GHC.hs b/ghc/compiler/main/GHC.hs index b2c86df..3f91af6 100644 --- a/ghc/compiler/main/GHC.hs +++ b/ghc/compiler/main/GHC.hs @@ -2046,7 +2046,7 @@ showModule :: Session -> ModSummary -> IO String showModule s mod_summary = withSession s $ \hsc_env -> do case lookupModuleEnv (hsc_HPT hsc_env) (ms_mod mod_summary) of Nothing -> panic "missing linkable" - Just mod_info -> return (showModMsg obj_linkable mod_summary) + Just mod_info -> return (showModMsg (hscTarget (hsc_dflags hsc_env)) (not obj_linkable) mod_summary) where obj_linkable = isObjectLinkable (expectJust "showModule" (hm_linkable mod_info))