[PATCH] GHC_CONVERT_VENDOR: allow 'w64' vendor, like x86_64-w64-mingw32

Sergei Trofimovich slyich at gmail.com
Sun Jan 27 22:30:54 CET 2013


From: Sergei Trofimovich <slyfox at gentoo.org>

Gentoo calls 'w64' a mingw flavour with mingw-w64 runtime.

Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
---
 aclocal.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aclocal.m4 b/aclocal.m4
index 9f9593a..30d492c 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1812,7 +1812,7 @@ case "$1" in
 # converts vendor from gnu to ghc naming, and assigns the result to $target_var
 AC_DEFUN([GHC_CONVERT_VENDOR],[
   case "$1" in
-  pc|gentoo) # like i686-pc-linux-gnu and i686-gentoo-freebsd8
+  pc|gentoo|w64) # like i686-pc-linux-gnu, i686-gentoo-freebsd8, x86_64-w64-mingw32
     $2="unknown"
     ;;
   softfloat) # like armv5tel-softfloat-linux-gnueabi
-- 
1.8.1.1




More information about the ghc-devs mailing list