summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index 36df61d2d5..fe26ee1f10 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)