From 7d04a6d5c770d28488d105c3c65e8f14984a7cbe Mon Sep 17 00:00:00 2001 From: "davve@dtek.chalmers.se" Date: Sun, 25 Mar 2007 03:22:08 +0000 Subject: Avoid a GHC bug with parseStaticFlags [] --- src/Main.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Main.hs b/src/Main.hs index cb1e4f2f..96ea3b4b 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -310,6 +310,7 @@ startGHC libDir = do sortAndCheckModules :: Session -> [FilePath] -> IO [CheckedMod] sortAndCheckModules session files = do + parseStaticFlags [] -- to avoid a GHC bug targets <- mapM (\s -> guessTarget s Nothing) files setTargets session targets mbModGraph <- depanal session [] True -- cgit v1.2.3