When --make is used we need to save the initial dynamic flags too
{-# OPTIONS -fno-warn-incomplete-patterns -optc-DNON_POSIX_SOURCE #-}
-----------------------------------------------------------------------------
--- $Id: Main.hs,v 1.120 2003/05/19 15:39:18 simonpj Exp $
+-- $Id: Main.hs,v 1.121 2003/05/21 02:48:56 igloo Exp $
--
-- GHC Driver program
--
---------------- Do the business -----------
case mode of
- DoMake -> doMake srcs
+ DoMake -> do { saveDynFlags ;
+ doMake srcs }
DoMkDependHS -> do { beginMkDependHS ;
compileFiles mode srcs;
endMkDependHS }