From 1cbb58692dc87b5cdde172ceefcd524f740454ac Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Thu, 19 Mar 2009 10:09:54 +0000 Subject: [PATCH] FIX unregisterised build --- mk/config.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/config.mk.in b/mk/config.mk.in index ae961bb..b83fb92 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -404,7 +404,7 @@ endif # Defer the check until later by using $(if..), because GhcUnregisterised might # be set in build.mk, which hasn't been read yet. GhcRTSWays += $(if $(findstring NO, $(GhcUnregisterised)),thr thr_debug thr_l,) -GhcRTSWays += $(if $(findstring p, $(GhcLibWays)),thr_p,) +GhcRTSWays += $(if $(findstring p, $(GhcLibWays)),$(if $(findstring NO, $(GhcUnregisterised)),thr_p,),) # We can only build GHCi threaded if we have a threaded RTS: GhcThreaded = $(if $(findstring thr,$(GhcRTSWays)),YES,NO) -- 1.7.10.4