[commit: ghc] master: aclocal.m4: add support for versioned darwin triplets (d39a340)
git at git.haskell.org
git at git.haskell.org
Thu Jun 1 21:34:32 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/d39a3409acd3c40fb018ec1c114f15d3ecef6ef9/ghc
>---------------------------------------------------------------
commit d39a3409acd3c40fb018ec1c114f15d3ecef6ef9
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date: Thu Jun 1 22:30:05 2017 +0100
aclocal.m4: add support for versioned darwin triplets
The change adds support for 'darwin*' OS:
$ ./configure --target=aarch64-apple-darwin14
Reported-by: jp_rider
Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
>---------------------------------------------------------------
d39a3409acd3c40fb018ec1c114f15d3ecef6ef9
aclocal.m4 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/aclocal.m4 b/aclocal.m4
index 7ad9c36..437974a 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1906,6 +1906,9 @@ AC_DEFUN([GHC_CONVERT_OS],[
aix*) # e.g. powerpc-ibm-aix7.1.3.0
$3="aix"
;;
+ darwin*) # e.g. aarch64-apple-darwin14
+ $3="darwin"
+ ;;
freebsd*) # like i686-gentoo-freebsd7
# i686-gentoo-freebsd8
# i686-gentoo-freebsd8.2
More information about the ghc-commits
mailing list