summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2013-02-14 09:09:53 +0000
committerSimon Marlow <marlowsd@gmail.com>2013-02-14 10:06:53 +0000
commite5085db5d16f904f9307445fbafc206283f630c7 (patch)
treed7ca5e42d3f901b62521498505a35e9be3aad487 /rts
parent56d68de5a3ce2c4b652e67fa4a28aadc0f83e228 (diff)
downloadhaskell-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.mk2
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)" ""