From 6909915de112185b2d8771be8fc65bbacc000811 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Sun, 14 Oct 2007 22:02:30 +0000 Subject: [PATCH] Fix the check for mingw compilers. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2746 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/Makefile b/engine/Makefile index a03a35d52..072e20b3c 100644 --- a/engine/Makefile +++ b/engine/Makefile @@ -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