diff options
| author | Simon Marlow <marlowsd@gmail.com> | 2009-03-19 10:09:54 +0000 |
|---|---|---|
| committer | Simon Marlow <marlowsd@gmail.com> | 2009-03-19 10:09:54 +0000 |
| commit | 1cbb58692dc87b5cdde172ceefcd524f740454ac (patch) | |
| tree | ed4049168c9283888f846de22c060fcada583997 | |
| parent | 5e5a08eb37f5513cecb47101a97fdaf09c4be040 (diff) | |
| download | haskell-1cbb58692dc87b5cdde172ceefcd524f740454ac.tar.gz | |
FIX unregisterised build
| -rw-r--r-- | mk/config.mk.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in index ae961bbd68..b83fb925dd 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) |
