summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhairball <xhairball@gmail.com>2014-02-08 03:57:39 +0000
committerTim Angus <tim@ngus.net>2014-06-17 17:43:39 +0100
commit4e2fbffaf61a5784d0e449916b63d0a9b5d493a3 (patch)
tree9732511b0e3128c375b44d0df139df9c98def710 /Makefile
parent156cb5280032e43647d8e1c9a4f9fc810b5780f4 (diff)
When cross compiling on mingw32, make sure it finds a CC
Diffstat (limited to 'Makefile')
-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