turn off cmm optimisation for the debug way
authorSimon Marlow <marlowsd@gmail.com>
Wed, 31 Oct 2012 13:50:54 +0000 (13:50 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 1 Nov 2012 10:13:17 +0000 (10:13 +0000)
rts/ghc.mk

index 36df61d..fe26ee1 100644 (file)
@@ -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)