Fix #8677 (fallout from #8180)
authorAustin Seipp <austin@well-typed.com>
Tue, 21 Jan 2014 20:05:49 +0000 (14:05 -0600)
committerAustin Seipp <austin@well-typed.com>
Tue, 21 Jan 2014 20:05:52 +0000 (14:05 -0600)
commit0a2d323cee040c6460233ff17d40199755e59959
tree9d94dcc098e16487402b794f34010d07e167c137
parent22ddcfff16476a6d19190f10743a78bde0b2c28f
Fix #8677 (fallout from #8180)

When using TemplateHaskell and -prof, we *do not* want -dynamic-too, because
we're going to *expect* that you compiled the vanilla/dyn way already,
and are compiling profiling the second time (i.e. so GHCi can just load
the normal, non-profiled object files.)

Signed-off-by: Austin Seipp <austin@well-typed.com>
compiler/main/DriverPipeline.hs