darcs patch: Pass profiling flag to ghc when compiling C files.
3 Nov
2009
3 Nov
'09
5:01 p.m.
Hi folks, this change was discussed shortly on #haskell. See also http://hpaste.org/fastcgi/hpaste.fcgi/view?id=11508#a11509 Regards, Bertram Tue Nov 3 17:55:58 CET 2009 Bertram Felgenhauer <int-e@gmx.de> * Pass profiling flag to ghc when compiling C files. The main effect of this change is that the PROFILING macro gets defined when compiling C files and profiling is enabled. This is useful for code that inspects closures. Caveat: The change relies on the fact that Cabal does not track dependencies of C files but recompiles them every time. If dependency tracking is added, we'll need different extensions for profiling and non-profiling object files.
6095
Age (days ago)
6095
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bertram Felgenhauer