From: simonmar Date: Mon, 12 Dec 2005 15:06:11 +0000 (+0000) Subject: [project @ 2005-12-12 15:06:11 by simonmar] X-Git-Tag: final_switch_to_darcs,_this_repo_is_now_live~100 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f77d420437be751934f9a0cbcde17091443af748;p=ghc-hetmet.git [project @ 2005-12-12 15:06:11 by simonmar] Add -threaded for stage[23] --- diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 01c8043..4920e16 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -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,