summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 37211d61..f9c79f4e 100644
--- a/Makefile
+++ b/Makefile
@@ -522,6 +522,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