diff options
author | hairball <xhairball@gmail.com> | 2014-02-08 03:57:39 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-06-17 17:43:39 +0100 |
commit | 4e2fbffaf61a5784d0e449916b63d0a9b5d493a3 (patch) | |
tree | 9732511b0e3128c375b44d0df139df9c98def710 /Makefile | |
parent | 156cb5280032e43647d8e1c9a4f9fc810b5780f4 (diff) |
When cross compiling on mingw32, make sure it finds a CC
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |