[commit: ghc] master: turn off cmm optimisation for the debug way (ee43ad5)

Simon Marlow <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/ee43ad528d57f0b31f47e56afdf5211141780239

>---------------------------------------------------------------

commit ee43ad528d57f0b31f47e56afdf5211141780239
Author: Simon Marlow <[email protected]>
Date:   Wed Oct 31 13:50:54 2012 +0000

    turn off cmm optimisation for the debug way

>---------------------------------------------------------------

 rts/ghc.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rts/ghc.mk b/rts/ghc.mk
index 36df61d..fe26ee1 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -130,7 +130,7 @@ ifneq "$$(BINDIST)" "YES"
 
 # The per-way CC_OPTS
 ifneq "$$(findstring debug, $1)" ""
-rts_dist_$1_HC_OPTS =
+rts_dist_$1_HC_OPTS = -O0
 rts_dist_$1_CC_OPTS = -g -O0
 else
 rts_dist_$1_HC_OPTS = $$(GhcRtsHcOpts)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.