From 7a7364615762c68030e1fa966e235a33a7f7becd Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Tue, 1 Nov 2016 17:44:40 -0500 Subject: [PATCH] Prefer mingw-w64 for cross-compiling --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6c7272c7..bff70210 100644 --- a/Makefile +++ b/Makefile @@ -505,10 +505,10 @@ ifdef MINGW # We need to figure out the correct gcc and windres ifeq ($(ARCH),x86_64) - MINGW_PREFIXES=amd64-mingw32msvc x86_64-w64-mingw32 + MINGW_PREFIXES=x86_64-w64-mingw32 amd64-mingw32msvc endif ifeq ($(ARCH),x86) - MINGW_PREFIXES=i586-mingw32msvc i686-w64-mingw32 i686-pc-mingw32 + MINGW_PREFIXES=i686-w64-mingw32 i586-mingw32msvc i686-pc-mingw32 endif ifndef CC