darcs patch: Fix profiling executable with template haskell

13 Mar
2007
13 Mar
'07
9:47 p.m.
Attached is a patch to fix a bug that I found when trying to compile an executable for profiling with ghc when my modules used template haskell. Cabal is smart enough already to accomodate TH by compiling everything twice (first the regular way, then with profiling). However, the second compile is missing ghc's -osuf and -hisuf arguments (as in the GHC manual, section 7.6.4). This patch adds those arguments at the right time; I've tested it against my own repositories and it seems to work fine. Best, -Judah
6762
Age (days ago)
6762
Last active (days ago)
0 comments
1 participants
participants (1)
-
Judah Jacobson