Skip to content
Snippets Groups Projects
Commit fb582eff authored by Simon Marlow's avatar Simon Marlow Committed by Herbert Valerio Riedel
Browse files

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.

(cherry picked from commit adc542df)
parent 86084290
No related merge requests found
......@@ -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/)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment