aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/lcc/makefile
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-07 01:03:49 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-07 01:03:49 +0000
commitaae027c11a995a15038b6410eb85ea6ccc6508f5 (patch)
treeac3ad3c636e4b0258528bd016b76d0865ba643b0 /code/tools/lcc/makefile
parent29d686a3c6474c3ef17169319a169fd741fb66fb (diff)
downloadioquake3-aero-aae027c11a995a15038b6410eb85ea6ccc6508f5.tar.gz
ioquake3-aero-aae027c11a995a15038b6410eb85ea6ccc6508f5.zip
* Patch from Andreas Kohn to fix q3asm build on FreeBSD
* Removal of SYSTEM variable from the lcc makefile due to problems with FreeBSD git-svn-id: svn://svn.icculus.org/quake3/trunk@147 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/tools/lcc/makefile')
-rw-r--r--code/tools/lcc/makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/code/tools/lcc/makefile b/code/tools/lcc/makefile
index 6de94eb..a0c9a70 100644
--- a/code/tools/lcc/makefile
+++ b/code/tools/lcc/makefile
@@ -140,10 +140,8 @@ $(BD)bprint$(O): etc/bprint.c; $(CC) $(LCC_CFLAGS) -c -Isrc -o $@ etc/bprint.c
$(BD)q3lcc$(E): $(BD)q3lcc$(O) $(BD)host$(O); $(LD) $(LDFLAGS) -o $@ $(BD)q3lcc$(O) $(BD)host$(O)
-SYSTEM=$(shell cc -print-search-dirs | head -n 1 | cut -b 10-)
-
$(BD)q3lcc$(O): etc/lcc.c; $(CC) $(LCC_CFLAGS) -c -DTEMPDIR=\"$(TEMPDIR)\" -o $@ etc/lcc.c
-$(BD)host$(O): $(HOSTFILE); $(CC) $(LCC_CFLAGS) -c -DSYSTEM=\"$(SYSTEM)\" -o $@ $(HOSTFILE)
+$(BD)host$(O): $(HOSTFILE); $(CC) $(LCC_CFLAGS) -c -DSYSTEM=\"\" -o $@ $(HOSTFILE)
LIBOBJS=$(BD)assert$(O) $(BD)bbexit$(O) $(BD)yynull$(O)