Add PowerPC to the list of SMP arches
authorIan Lynagh <igloo@earth.li>
Sat, 9 Dec 2006 17:42:03 +0000 (17:42 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 9 Dec 2006 17:42:03 +0000 (17:42 +0000)
mk/config.mk.in

index 021d1fc..a1c6a84 100644 (file)
@@ -257,7 +257,9 @@ GhcWithJavaGen=NO
 
 HaveLibDL = @HaveLibDL@
 
-ArchSupportsSMP=$(strip $(patsubst $(HostArch_CPP), YES, $(findstring $(HostArch_CPP), i386 x86_64 sparc)))
+# ArchSupportsSMP should be set iff there is support for that arch in
+# includes/SMP.h
+ArchSupportsSMP=$(strip $(patsubst $(HostArch_CPP), YES, $(findstring $(HostArch_CPP), i386 x86_64 sparc powerpc)))
 
 ifeq "$(ArchSupportsSMP)$(GhcUnregisterised)" "YESNO"
 GhcWithSMP=YES