Don't enable SMP if we are unregisterised
authorIan Lynagh <igloo@earth.li>
Tue, 29 Aug 2006 12:32:28 +0000 (12:32 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 29 Aug 2006 12:32:28 +0000 (12:32 +0000)
mk/config.mk.in

index e5581cc..dc69ff2 100644 (file)
@@ -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