patch applied (packages/Cabal): Pass profiling flag to ghc when
compiling C files.
Simon Marlow
marlowsd at gmail.com
Fri Nov 13 08:05:41 EST 2009
Tue Nov 3 08:55:58 PST 2009 Bertram Felgenhauer <int-e at gmx.de>
* Pass profiling flag to ghc when compiling C files.
Ignore-this: 422eaeca8c7246170931adecc8556f15
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.
M ./Distribution/Simple/GHC.hs -4 +11
View patch online:
http://darcs.haskell.org/packages/Cabal/_darcs/patches/20091103165558-ef904-695d57f1e8eb5b74262130f1f3693cce93e1d100.gz
More information about the Cvs-libraries
mailing list