mirror of
https://github.com/ioquake/ioq3.git
synced 2025-02-23 12:01:11 +00:00
* Fix cross compilation
This commit is contained in:
parent
2fd7ffe754
commit
1da457889e
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -441,7 +441,9 @@ ifeq ($(PLATFORM),mingw32)
|
||||||
|
|
||||||
# Some MinGW installations define CC to cc, but don't actually provide cc,
|
# Some MinGW installations define CC to cc, but don't actually provide cc,
|
||||||
# so explicitly use gcc instead (which is the only option anyway)
|
# so explicitly use gcc instead (which is the only option anyway)
|
||||||
CC=gcc
|
ifeq ($(shell which $(CC) > /dev/null; echo $$?),1)
|
||||||
|
CC=gcc
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef WINDRES
|
ifndef WINDRES
|
||||||
WINDRES=windres
|
WINDRES=windres
|
||||||
|
|
Loading…
Reference in a new issue