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