summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-04-21 22:26:56 -0500
committerAustin Seipp <austin@well-typed.com>2014-04-21 22:26:56 -0500
commitc29bf984dd20431cd4344e8a5c444d7a5be08389 (patch)
treef0b0245bdbad8b981ed37d262e28d9977dcb7b35 /aclocal.m4
parenta3831391e1defdf69214dc258eebcf37d92991f2 (diff)
downloadhaskell-c29bf984dd20431cd4344e8a5c444d7a5be08389.tar.gz
ghc: initial AArch64 patches
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 7cae3b5ed4..0c9a697a4d 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -197,6 +197,9 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
GET_ARM_ISA()
test -z "[$]2" || eval "[$]2=\"ArchARM {armISA = \$ARM_ISA, armISAExt = \$ARM_ISA_EXT, armABI = \$ARM_ABI}\""
;;
+ aarch64)
+ test -z "[$]2" || eval "[$]2=ArchARM64"
+ ;;
alpha)
test -z "[$]2" || eval "[$]2=ArchAlpha"
;;
@@ -1854,6 +1857,9 @@ AC_MSG_CHECKING(for path to top of build tree)
# converts cpu from gnu to ghc naming, and assigns the result to $target_var
AC_DEFUN([GHC_CONVERT_CPU],[
case "$1" in
+ aarch64*)
+ $2="aarch64"
+ ;;
alpha*)
$2="alpha"
;;