summaryrefslogtreecommitdiff
path: root/ghc/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/ghc.mk')
-rw-r--r--ghc/ghc.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/ghc/ghc.mk b/ghc/ghc.mk
index 3a3edec1ce..2f6fb8010a 100644
--- a/ghc/ghc.mk
+++ b/ghc/ghc.mk
@@ -29,7 +29,8 @@ endif
ifeq "$(GhcThreaded)" "YES"
# Use threaded RTS with GHCi, so threads don't get blocked at the prompt.
-ghc_HC_OPTS += -threaded
+ghc_stage2_HC_OPTS += -threaded
+ghc_stage3_HC_OPTS += -threaded
endif
ifeq "$(BuildSharedLibs)" "YES"