From 807ba085584336052534d69d45a2e69636339674 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 28 Nov 2005 09:50:55 +0000 Subject: [PATCH] Must explicitly define MACOS_X here or lcc won't build on the Mac. --- code/tools/lcc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/tools/lcc/Makefile b/code/tools/lcc/Makefile index 31b76640..03e152c2 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