diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-10-14 00:16:17 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-10-14 00:16:17 +0000 |
commit | dd40ddbbb84dd156bc404e561a40b861f9e4184d (patch) | |
tree | 9480687a1cf7f24cfb9caf876e088c5da1c4be78 | |
parent | 8724787924a2124f51d8e21b3eaa4ff0a1acb55e (diff) | |
download | ioquake3-aero-dd40ddbbb84dd156bc404e561a40b861f9e4184d.tar.gz ioquake3-aero-dd40ddbbb84dd156bc404e561a40b861f9e4184d.zip |
* Fix cross compilation
git-svn-id: svn://svn.icculus.org/quake3/trunk@1667 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -441,7 +441,9 @@ ifeq ($(PLATFORM),mingw32) # Some MinGW installations define CC to cc, but don't actually provide cc, # 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 WINDRES=windres |