Prefer mingw-w64 for cross-compiling

This commit is contained in:
Zack Middleton 2016-11-01 17:44:40 -05:00
parent 10f33b892b
commit 7a73646157

View file

@ -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