1
0
Fork 0
forked from fte/fteqw

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:
Molgrum 2007-10-14 22:02:30 +00:00
parent 48933f0862
commit 6909915de1

View file

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