Skip to content

Commit

Permalink
Merge pull request #41 from xhairball/fixes/check-cc-when-cross-compi…
Browse files Browse the repository at this point in the history
…ling-mingw32

When cross compiling on mingw32, make sure it finds a CC
  • Loading branch information
zturtleman committed Feb 8, 2014
2 parents d0b1fb4 + 6fa6ab1 commit c2e2514
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c2e2514

Please sign in to comment.