When cross compiling on mingw32, make sure it finds a CC

This commit is contained in:
hairball 2014-02-08 03:57:39 +00:00
parent d8e42cf02f
commit 6fa6ab1064

View file

@ -534,6 +534,10 @@ ifeq ($(PLATFORM),mingw32)
endif
endif
ifeq ($(CC),)
$(error Cannot find a suitable cross compiler for $(PLATFORM))
endif
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-DUSE_ICON