X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=b83fb925dd97b2312b90bb6e3446c3d95209428a;hb=1cbb58692dc87b5cdde172ceefcd524f740454ac;hp=ae961bbd687ca5c13597ae8d429c4b7c789045df;hpb=8b18faef8aeaf40150c208272a2fc117611e8ae8;p=ghc-hetmet.git 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)