From 6fa6ab1064b0c6d3e0cc08a50412a06dc797c49d Mon Sep 17 00:00:00 2001 From: hairball Date: Sat, 8 Feb 2014 03:57:39 +0000 Subject: [PATCH] When cross compiling on mingw32, make sure it finds a CC --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 7d9a18ed..446710c2 100644 --- a/Makefile +++ b/Makefile @@ -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