From: Ian Lynagh Date: Mon, 20 Nov 2006 12:16:31 +0000 (+0000) Subject: Don't make ghc threaded if GhcNotThreaded is YES X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=680f11d3f1ad9065c4969ed5d9db857cc245d778 Don't make ghc threaded if GhcNotThreaded is YES --- diff --git a/compiler/Makefile b/compiler/Makefile index 78bddee..70a0e72 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -423,8 +423,10 @@ ifeq "$(GhcEnableTablesNextToCode) $(GhcUnregisterised)" "YES NO" SRC_HC_OPTS += -DGHCI_TABLES_NEXT_TO_CODE endif +ifneq "$(GhcNotThreaded)" "YES" # Use threaded RTS with GHCi, so threads don't get blocked at the prompt. SRC_HC_OPTS += -threaded +endif ALL_DIRS += ghci diff --git a/compiler/Makefile.ghcbin b/compiler/Makefile.ghcbin index 7b25fb3..96bed25 100644 --- a/compiler/Makefile.ghcbin +++ b/compiler/Makefile.ghcbin @@ -31,7 +31,9 @@ ifeq "$(GhcWithInterpreter)" "YES" SRC_HC_OPTS += -DGHCI -DBREAKPOINT endif +ifneq "$(GhcNotThreaded)" "YES" SRC_HC_OPTS += -threaded +endif odir=stage$(stage)