summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-04-12 02:13:48 +0100
committerAustin Seipp <austin@well-typed.com>2014-04-21 22:27:39 -0500
commit8586f600613a6a99fee8fe707b00adab1a340641 (patch)
tree825585d1b0d041553167c6db40bc5e9ac94feba1 /aclocal.m4
parent5a31f231eebfb8140f9b519b166094d9d4fc2d79 (diff)
downloadhaskell-8586f600613a6a99fee8fe707b00adab1a340641.tar.gz
Add the powerpc64le architecture
This is ArchUnknown for now, as it requires some porting work over and above powerpc64 due to such things as the different function calling sequence in the ELFv2 ABI. For now, an unregisterised port is better than nothing. Signed-off-by: Colin Watson <cjwatson@debian.org> Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 0c9a697a4d..f9b574b360 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -209,7 +209,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
mipsel)
test -z "[$]2" || eval "[$]2=ArchMipsel"
;;
- hppa|hppa1_1|ia64|m68k|rs6000|s390|s390x|sparc64|vax)
+ hppa|hppa1_1|ia64|m68k|powerpc64le|rs6000|s390|s390x|sparc64|vax)
test -z "[$]2" || eval "[$]2=ArchUnknown"
;;
*)
@@ -1890,6 +1890,9 @@ case "$1" in
mips*)
$2="mips"
;;
+ powerpc64le*)
+ $2="powerpc64le"
+ ;;
powerpc64*)
$2="powerpc64"
;;