summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2006-12-09 17:42:03 +0000
committerIan Lynagh <igloo@earth.li>2006-12-09 17:42:03 +0000
commit139422fe20cad5d1cb859e16e609c6b33811ad2e (patch)
tree0d0b7f0c2e95e1e02a1dd39bdddbbc735307222e /mk
parentfec5e8702d038cda035b2c4a1c1e069821ba4c7b (diff)
downloadhaskell-139422fe20cad5d1cb859e16e609c6b33811ad2e.tar.gz
Add PowerPC to the list of SMP arches
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 021d1fcecc..a1c6a84872 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -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