mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Merge pull request #41 from xhairball/fixes/check-cc-when-cross-compiling-mingw32
When cross compiling on mingw32, make sure it finds a CC
This commit is contained in:
commit
c2e2514efc
1 changed files with 4 additions and 0 deletions
4
Makefile
4
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue