summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2013-08-23 21:49:50 -0500
committerAustin Seipp <aseipp@pobox.com>2013-08-24 05:03:15 -0500
commitb7130bfd1a042753a177c7212aee8223846f7992 (patch)
treef895f08bd2e9055d527eddfe86d91233b554367b /mk
parent6a02f280e074278acceb6e9331bb00dccfe02f08 (diff)
downloadhaskell-b7130bfd1a042753a177c7212aee8223846f7992.tar.gz
Add support for iOS simulator (issue #8152).
The iOS simulator is essentially an iOS target but for an x86 machine instead. It doesn't support the native code generator either, though. Authored-by: Stephen Blackheath <...@blacksapphire.com> Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 1129cc2e41..5a039ba046 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -161,9 +161,9 @@ GhcUnregisterised=@Unregisterised@
#
# Target platforms supported:
# i386, powerpc
-# AIX is not supported
+# IOS and AIX are not supported
ArchSupportsNCG=$(strip $(patsubst $(TargetArch_CPP), YES, $(findstring $(TargetArch_CPP), i386 x86_64 powerpc sparc)))
-OsSupportsNCG=$(strip $(patsubst $(TargetOS_CPP), YES, $(patsubst aix,,$(TargetOS_CPP))))
+OsSupportsNCG=$(strip $(patsubst $(TargetOS_CPP), YES, $(patsubst ios,,$(patsubst aix,,$(TargetOS_CPP)))))
GhcWithNativeCodeGen := $(strip\
$(if $(filter YESYESNO,\