mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-13 00:24:10 +00:00
MAKE: use mxe prefixes for mingw compilation
see https://mxe.cc/\#introduction
This commit is contained in:
parent
4003a5b78c
commit
9bf95c29ff
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -639,10 +639,10 @@ ifdef MINGW
|
|||
# we need to figure out the appropriate compiler to use, based on the
|
||||
# host architecture that we're running under (as tools run on the host)
|
||||
ifeq ($(COMPILE_ARCH),x86_64)
|
||||
TOOLS_MINGW_PREFIXES=x86_64-w64-mingw32 amd64-mingw32msvc
|
||||
TOOLS_MINGW_PREFIXES=x86_64-w64-mingw32 x86_64-w64-mingw32.shared x86_64-w64-mingw32.static amd64-mingw32msvc
|
||||
endif
|
||||
ifeq ($(COMPILE_ARCH),x86)
|
||||
TOOLS_MINGW_PREFIXES=i686-w64-mingw32 i586-mingw32msvc i686-pc-mingw32
|
||||
TOOLS_MINGW_PREFIXES=i686-w64-mingw32 i686-w64-mingw32.shared i686-w64-mingw32.static i586-mingw32msvc i686-pc-mingw32
|
||||
endif
|
||||
|
||||
TOOLS_CC=$(firstword $(strip $(foreach TOOLS_MINGW_PREFIX, $(TOOLS_MINGW_PREFIXES), \
|
||||
|
|
Loading…
Reference in a new issue