From 1ea7e85b31c5f2c6a7aae46c116f40680f0c05fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Mon, 22 Jan 2018 00:38:19 +0100 Subject: [PATCH] Hack for #924, -Wmissing-home-modules errors --- core/GhcMod/Target.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/GhcMod/Target.hs b/core/GhcMod/Target.hs index d4f4235..4a797c0 100644 --- a/core/GhcMod/Target.hs +++ b/core/GhcMod/Target.hs @@ -164,7 +164,7 @@ runGmlTWith efnmns' mdf wrapper action = do cfns <- mapM getCanonicalFileNameSafe ccfns let serfnmn = Set.fromList $ map Right mns ++ map Left cfns opts <- targetGhcOptions crdl serfnmn - let opts' = opts ++ ["-O0"] ++ optGhcUserOptions + let opts' = opts ++ ["-O0", "-fno-missing-home-modules"] ++ optGhcUserOptions gmVomit "session-ghc-options"