From 6e60e823ac94aeed888abbe15ea99f6ede3cc535 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Wed, 14 Oct 2009 18:25:11 +0000 Subject: * Fix cross-compiling (early merge from ioq3 r1667) * Prevent crash when using % in chats, caused by r1784 (Ensiform, Rezyn) * Change default hud color of location text to white, so it doesn't mess up color schemes of maps that have such things on their location ents --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fbb833f2..c533f577 100644 --- a/Makefile +++ b/Makefile @@ -429,7 +429,9 @@ ifeq ($(PLATFORM),mingw32) # Some MinGW installations define CC to cc, but don't actually provide cc, # so explicitly use gcc instead (which is the only option anyway) - CC=gcc + ifeq ($(shell which $(CC) > /dev/null; echo $$?),1) + CC=gcc + endif ifndef WINDRES WINDRES=windres -- cgit