diff options
author | Simon Marlow <marlowsd@gmail.com> | 2015-01-13 20:23:35 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2015-01-13 20:34:13 +0000 |
commit | adc542df23fd4c1766606ffcdced92beb1a192ce (patch) | |
tree | 0060a6a477107d784d43370895d9c29b62a32266 /mk | |
parent | 24bbc3e7077f5f6cd51f118393e5342a4047978c (diff) | |
download | haskell-adc542df23fd4c1766606ffcdced92beb1a192ce.tar.gz |
Compile the RTS with -g by default
Having debugging info doesn't hurt performance, can be stripped from
binaries, and it's useful for debugging and profiling.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/config.mk.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in index 8f134bcdfb..40c66d97c0 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -344,7 +344,7 @@ LAX_DEPENDENCIES = NO # the debugging RTS flavour, rts/ghc.mk overrides these to turn off # optimisation. GhcRtsHcOpts=-O2 -GhcRtsCcOpts=-O2 -fomit-frame-pointer +GhcRtsCcOpts=-O2 -fomit-frame-pointer -g # Include support for CPU performance counters via the PAPI library in the RTS? # (PAPI: http://icl.cs.utk.edu/papi/) |