Fix the check for mingw compilers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2746 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
48933f0862
commit
6909915de1
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ BASE_DIR=.
|
|||
ifeq ($(FTE_TARGET),win32)
|
||||
ifeq ($(shell $(CC) -v 2>&1 | grep mingw),)
|
||||
#CC didn't state that it was mingw... so try fixing that up
|
||||
ifneq ($(shell i586-mingw32msvc-gcc -v 2>&1 | grep mingw),)
|
||||
ifneq ($(shell which i586-mingw32msvc-gcc 2> /dev/null),)
|
||||
#yup, the alternative exists (this matches the one debian has)
|
||||
CC=i586-mingw32msvc-gcc
|
||||
# BITS?=32
|
||||
|
|
Loading…
Reference in a new issue