diff options
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r-- | rts/ghc.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk index 1119a8803d..58d46def00 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -131,13 +131,13 @@ define build-rts-way # args: $1 = way ifneq "$$(BINDIST)" "YES" +rts_dist_$1_HC_OPTS := $$(GhcRtsHcOpts) +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 -else -rts_dist_$1_HC_OPTS = $$(GhcRtsHcOpts) -rts_dist_$1_CC_OPTS = $$(GhcRtsCcOpts) +rts_dist_$1_HC_OPTS += -O0 +rts_dist_$1_CC_OPTS += -g -O0 endif ifneq "$$(findstring dyn, $1)" "" |