summaryrefslogtreecommitdiff
path: root/rts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Makefile')
-rw-r--r--rts/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Makefile b/rts/Makefile
index 6bf42712cb..184a8440cc 100644
--- a/rts/Makefile
+++ b/rts/Makefile
@@ -35,7 +35,7 @@ WAYS=$(GhcLibWays) $(GhcRTSWays)
ifneq "$(findstring debug, $(way))" ""
GhcRtsHcOpts=
-GhcRtsCcOpts=-g
+GhcRtsCcOpts=-g -O0
endif
# -----------------------------------------------------------------------------