diff options
author | Simon Marlow <marlowsd@gmail.com> | 2013-02-14 09:09:53 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2013-02-14 10:06:53 +0000 |
commit | e5085db5d16f904f9307445fbafc206283f630c7 (patch) | |
tree | d7ca5e42d3f901b62521498505a35e9be3aad487 /rts | |
parent | 56d68de5a3ce2c4b652e67fa4a28aadc0f83e228 (diff) | |
download | haskell-e5085db5d16f904f9307445fbafc206283f630c7.tar.gz |
Fixes to the rts C flags for the debug way
An earlier attempt at cleaning things up had made the debug way
compile with optimisation due to flag ordering issues.
Diffstat (limited to 'rts')
-rw-r--r-- | rts/ghc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk index 58d46def00..7cbb96ef0a 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -137,7 +137,7 @@ rts_dist_$1_CC_OPTS := $$(GhcRtsCcOpts) # The per-way CC_OPTS ifneq "$$(findstring debug, $1)" "" rts_dist_$1_HC_OPTS += -O0 -rts_dist_$1_CC_OPTS += -g -O0 +rts_dist_$1_CC_OPTS += -fno-omit-frame-pointer -g -O0 endif ifneq "$$(findstring dyn, $1)" "" |