diff options
-rw-r--r-- | src/Main.hs | 1 |
1 files changed, 1 insertions, 0 deletions
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 |