[commit: ghc] master: Support iOS variants elsewhere when configuring (10566a8)

git at git.haskell.org git at git.haskell.org
Sun Mar 25 19:02:47 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/10566a814fc07072385fc72c25158d79f25a8a36/ghc

>---------------------------------------------------------------

commit 10566a814fc07072385fc72c25158d79f25a8a36
Author: John Ericson <John.Ericson at Obsidian.Systems>
Date:   Sun Mar 25 14:00:26 2018 -0400

    Support iOS variants elsewhere when configuring
    
    Reviewers: hvr, bgamari, angerman
    
    Reviewed By: angerman
    
    Subscribers: rwbarton, thomie, erikd, carter, angerman
    
    Differential Revision: https://phabricator.haskell.org/D4513


>---------------------------------------------------------------

10566a814fc07072385fc72c25158d79f25a8a36
 aclocal.m4   | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/aclocal.m4 b/aclocal.m4
index e19cbf2..b0a3d44 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -242,7 +242,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
         linux|linux-android)
             test -z "[$]2" || eval "[$]2=OSLinux"
             ;;
-        darwin|ios)
+        darwin|ios|watchos|tvos)
             test -z "[$]2" || eval "[$]2=OSDarwin"
             ;;
         solaris2)
diff --git a/configure.ac b/configure.ac
index 1bab56d..111def2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1190,7 +1190,7 @@ case ${TargetOS} in
     linux|linux-android|freebsd|dragonfly|netbsd|openbsd|kfreebsdgnu|gnu|solaris2)
         RtsLinkerUseMmap=1
         ;;
-    darwin|ios)
+    darwin|ios|watchos|tvos)
         # Don't use mmap on powerpc/darwin as the mmap there doesn't support
         # reallocating. Reallocating is needed to allocate jump islands just
         # after each object image. Jumps to these jump islands use relative



More information about the ghc-commits mailing list