summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2016-05-10 18:09:50 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2016-05-10 22:06:59 +1000
commitbff6e1bbf0a9149493cba3b3c78caa57ba6071bf (patch)
treebebf5361e22800bbcc60f2e880a4be54c5c8c871 /mk
parentea3d1efb863ca83b28af9056576d47f1abf98fa9 (diff)
downloadhaskell-bff6e1bbf0a9149493cba3b3c78caa57ba6071bf.tar.gz
Comments only
[skip ci]
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index b5d910b841..6d97463196 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -192,6 +192,8 @@ else
ArchSupportsSMP=$(strip $(patsubst $(TargetArch_CPP), YES, $(findstring $(TargetArch_CPP), i386 x86_64 sparc powerpc powerpc64 powerpc64le aarch64)))
endif
+# The THREADED_RTS requites `BaseReg` to be in a register and the
+# `GhcUnregisterised` mode doesn't allow that.
GhcWithSMP := $(strip $(if $(filter YESNO, $(ArchSupportsSMP)$(GhcUnregisterised)),YES,NO))
# Whether to include GHCi in the compiler. Depends on whether the RTS linker