aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-28 09:50:55 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-28 09:50:55 +0000
commita1ffde619ca3a48d7a4a88e17b5fc4328f0f3c71 (patch)
tree14d5f4b361bfa7a483f030a9c4ab52ab88dd1f32 /code/tools
parent1a338e6f33ab6cae43af500d51456ae09c7e2082 (diff)
downloadioquake3-aero-a1ffde619ca3a48d7a4a88e17b5fc4328f0f3c71.tar.gz
ioquake3-aero-a1ffde619ca3a48d7a4a88e17b5fc4328f0f3c71.zip
Must explicitly define MACOS_X here or lcc won't build on the Mac.
git-svn-id: svn://svn.icculus.org/quake3/trunk@383 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/tools')
-rw-r--r--code/tools/lcc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/code/tools/lcc/Makefile b/code/tools/lcc/Makefile
index 31b7664..03e152c 100644
--- a/code/tools/lcc/Makefile
+++ b/code/tools/lcc/Makefile
@@ -26,6 +26,11 @@ ifeq ($(USE_CCACHE),1)
CC := ccache $(CC)
endif
+# Need MACOS_X defined or this won't build.
+ifeq ($(PLATFORM),darwin)
+ LCC_CFLAGS += -DMACOS_X
+endif
+
ifeq ($(PLATFORM),SunOS)
INSTALL=ginstall
else