Re-adjust interaction between -ddump flags and force-recompilation
authorsimonpj@microsoft.com <unknown>
Wed, 17 Sep 2008 16:19:20 +0000 (16:19 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 17 Sep 2008 16:19:20 +0000 (16:19 +0000)
commitdf0fb997b6e9d5e5b7ca45e8946335fb0ef0e762
tree85b0694fa6e8813acc810840a5be45655ac5f0d3
parent4ec6ab05e69bed9ca2fb807438cd677c3b25672a
Re-adjust interaction between -ddump flags and force-recompilation

If you say -ddump-xx we effectively add -fforce-recomp, so that you
see your dump output.  But this works badly in --make mode, because
you get the ddump output for every module, which is probably not what
you want.  This patch forces recompilation with -ddump-X only in one-shot
mode.

Of course, this only affects people using -ddump options.
compiler/main/DynFlags.hs