aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/lcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'code/tools/lcc/Makefile')
-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