summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2006-08-29 12:32:28 +0000
committerIan Lynagh <igloo@earth.li>2006-08-29 12:32:28 +0000
commit6ed326b78c09f2c79908e94341fb826fd9469688 (patch)
tree48c57a6a2f987a5919b40b2d52e3ee54e71416f0 /mk
parent5e418599f051ecb88d9d2dbeea96563cf438b065 (diff)
downloadhaskell-6ed326b78c09f2c79908e94341fb826fd9469688.tar.gz
Don't enable SMP if we are unregisterised
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index e5581cc6af..dc69ff2116 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -259,7 +259,7 @@ HaveLibDL = @HaveLibDL@
ArchSupportsSMP=$(strip $(patsubst $(HostArch_CPP), YES, $(findstring $(HostArch_CPP), i386 x86_64 sparc)))
-ifeq "$(ArchSupportsSMP)" "YES"
+ifeq "$(ArchSupportsSMP)$(GhcUnregisterised)" "YESNO"
GhcWithSMP=YES
else
GhcWithSMP=NO