summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorPHO <pho@cielonegro.org>2022-02-08 13:08:03 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-08 10:43:19 -0500
commitbd493ed6a63e41855f90c210f6cf1bace9199cf0 (patch)
treee8d5c298c84e5b0931da11a3210373bbe93335a7 /mk
parentb33f0cfabfcace98bb8b77a5bce6c6efba076cf6 (diff)
downloadhaskell-bd493ed6a63e41855f90c210f6cf1bace9199cf0.tar.gz
Don't try to build stage1 with -eventlog if stage0 doesn't provide it
Like -threaded, stage0 isn't guaranteed to have an event-logging RTS.
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 9476179606..1559e98ea3 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -169,6 +169,9 @@ GhcWithSMP := $(strip $(if $(filter YESNO, $(ArchSupportsSMP)$(GhcUnregisterised
# Whether or not the bootstrapping GHC supplies a threaded RTS.
GhcThreadedRts = @GhcThreadedRts@
+# Whether or not the bootstrapping GHC supplies an event-logging RTS.
+GhcEventLoggingRts = @GhcEventLoggingRts@
+
# Whether to include GHCi in the compiler. Depends on whether the RTS linker
# has support for this OS/ARCH combination.