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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Sergei Trofimovich
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



Reply | Threaded
Open this post in threaded view
|

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

Ian Lynagh-2
On Mon, Jan 28, 2013 at 12:30:54AM +0300, Sergei Trofimovich wrote:
>
> Gentoo calls 'w64' a mingw flavour with mingw-w64 runtime.

Applied, thanks!


Thanks
Ian