From f5eed51a85cb6e8658677e51b62e559d0434c1ff Mon Sep 17 00:00:00 2001
From: Cameron Cawley <ccawley2011@gmail.com>
Date: Wed, 16 Feb 2022 00:29:38 +0000
Subject: [PATCH] Recognize x86_64-w64-mingw32 as a valid host

---
 makefiles/Makefile.tools | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools
index f312394..53a5ea4 100644
--- a/makefiles/Makefile.tools
+++ b/makefiles/Makefile.tools
@@ -186,7 +186,7 @@ else
     PREFIX ?= $(GCCSDK_INSTALL_ENV)
   endif
 
-  ifeq ($(HOST),i686-w64-mingw32)
+  ifeq ($(findstring mingw32,$(HOST)),mingw32)
     # Cross compiling for Windows -- assumes mingw toolchain
     GENHTML ?= echo
     LCOV ?= echo
-- 
2.30.2

