summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorTravis Whitaker <pi.boy.travis@gmail.com>2020-05-06 04:14:47 +0000
committerBen Gamari <ben@smart-cactus.org>2020-07-22 22:57:10 -0400
commit55fac76881ceb849d0e03d98965981ffcb9acb87 (patch)
tree32a4ab9b7775e5ae996f298f85c204ed8bea5108 /mk
parentb7c216cbd8ce4056bee4a460d9f731d4311a72f5 (diff)
downloadhaskell-55fac76881ceb849d0e03d98965981ffcb9acb87.tar.gz
Build a threaded stage 1 if the bootstrapping GHC supports it.
(cherry picked from commit 67738db10010fd28a8e997b5c8f83ea591b88a0e) (cherry picked from commit a228d0a83db06fbe81b1c74fe3b1aea3133cee50)
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 41cd71ca1f..d6f876fbed 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -199,6 +199,9 @@ endif
# `GhcUnregisterised` mode doesn't allow that.
GhcWithSMP := $(strip $(if $(filter YESNO, $(ArchSupportsSMP)$(GhcUnregisterised)),YES,NO))
+# Whether or not the bootstrapping GHC supplies a threaded RTS.
+GhcThreadedRts = @GhcThreadedRts@
+
# Whether to include GHCi in the compiler. Depends on whether the RTS linker
# has support for this OS/ARCH combination.