From 64347a10a2a34d53800ca9cb1bb65a88e3f8d759 Mon Sep 17 00:00:00 2001
From: Luca Barbato <lu_zero@gentoo.org>
Date: Thu, 10 Jan 2013 04:50:18 +0100
Subject: [PATCH] configure: support mingw-w64

Autodetect common cross compile and native mingw-w64 CHOSTs

Change-Id: Ib307b2f047c024c4dbc41880bd8d84b0fa7ecb93
---
 build/make/configure.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/build/make/configure.sh b/build/make/configure.sh
index e27af96413..cb8d642785 100755
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -642,6 +642,9 @@ process_common_toolchain() {
                 tgt_isa=x86_64
                 tgt_os=darwin12
                 ;;
+            x86_64*mingw32*)
+                tgt_os=win64
+                ;;
             *mingw32*|*cygwin*)
                 [ -z "$tgt_isa" ] && tgt_isa=x86
                 tgt_os=win32
-- 
GitLab