4a07cbb
From 44cee4852282f63393d532aad59c5cd865ff3ed6 Mon Sep 17 00:00:00 2001
4a07cbb
From: Erik de Castro Lopo <erikd@mega-nerd.com>
4a07cbb
Date: Wed, 1 Apr 2015 04:46:01 +0000
4a07cbb
Subject: [PATCH] mk/config.mk.in : Enable SMP and GHCi support for Aarch64.
4a07cbb
4a07cbb
---
4a07cbb
 mk/config.mk.in | 4 ++--
4a07cbb
 1 file changed, 2 insertions(+), 2 deletions(-)
4a07cbb
4a07cbb
diff --git a/mk/config.mk.in b/mk/config.mk.in
4a07cbb
index f4cb52b..d6831c9 100644
4a07cbb
--- a/mk/config.mk.in
4a07cbb
+++ b/mk/config.mk.in
4a07cbb
@@ -172,7 +172,7 @@ HaveLibDL = @HaveLibDL@
4a07cbb
 
4a07cbb
 # ArchSupportsSMP should be set iff there is support for that arch in
4a07cbb
 # includes/stg/SMP.h
4a07cbb
-ArchSupportsSMP=$(strip $(patsubst $(TargetArch_CPP), YES, $(findstring $(TargetArch_CPP), i386 x86_64 sparc powerpc arm)))
4a07cbb
+ArchSupportsSMP=$(strip $(patsubst $(TargetArch_CPP), YES, $(findstring $(TargetArch_CPP), i386 x86_64 sparc powerpc arm aarch64)))
4a07cbb
 
4a07cbb
 GhcWithSMP := $(strip $(if $(filter YESNO, $(ArchSupportsSMP)$(GhcUnregisterised)),YES,NO))
4a07cbb
 
4a07cbb
@@ -180,7 +180,7 @@ GhcWithSMP := $(strip $(if $(filter YESNO, $(ArchSupportsSMP)$(GhcUnregisterised
4a07cbb
 # has support for this OS/ARCH combination.
4a07cbb
 
4a07cbb
 OsSupportsGHCi=$(strip $(patsubst $(TargetOS_CPP), YES, $(findstring $(TargetOS_CPP), mingw32 cygwin32 linux solaris2 freebsd dragonfly netbsd openbsd darwin kfreebsdgnu)))
4a07cbb
-ArchSupportsGHCi=$(strip $(patsubst $(TargetArch_CPP), YES, $(findstring $(TargetArch_CPP), i386 x86_64 powerpc sparc sparc64 arm)))
4a07cbb
+ArchSupportsGHCi=$(strip $(patsubst $(TargetArch_CPP), YES, $(findstring $(TargetArch_CPP), i386 x86_64 powerpc sparc sparc64 arm aarch64)))
4a07cbb
 
4a07cbb
 ifeq "$(OsSupportsGHCi)$(ArchSupportsGHCi)" "YESYES"
4a07cbb
 GhcWithInterpreter=YES
4a07cbb
-- 
4a07cbb
2.1.4
4a07cbb