[project @ 2005-12-12 15:06:11 by simonmar]
authorsimonmar <unknown>
Mon, 12 Dec 2005 15:06:11 +0000 (15:06 +0000)
committersimonmar <unknown>
Mon, 12 Dec 2005 15:06:11 +0000 (15:06 +0000)
Add -threaded for stage[23]

ghc/compiler/Makefile

index 01c8043..4920e16 100644 (file)
@@ -407,6 +407,9 @@ ifeq "$(GhcWithInterpreter) $(bootstrapped)" "YES YES"
 SRC_HC_OPTS += -DGHCI -package template-haskell
 PKG_DEPENDS += template-haskell
 
+# Use threaded RTS with GHCi, so threads don't get blocked at the prompt.
+SRC_HC_OPTS += -threaded
+
 ALL_DIRS += ghci
 
 # If we are going to use dynamic libraries instead of .o files for ghci,