aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-26 22:52:17 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-26 22:52:17 +0000
commit14bf501c3d5435fc81d8a0dd97d488344fb69268 (patch)
treefbe0dbe5cc92ce6f0dfb236fc5460f8df446d468 /code
parent61959fe8d0e92d58eb05c60f4bdcd4d58ab5184c (diff)
downloadioquake3-aero-14bf501c3d5435fc81d8a0dd97d488344fb69268.tar.gz
ioquake3-aero-14bf501c3d5435fc81d8a0dd97d488344fb69268.zip
* Split lcc $AR into $AR and $ARFLAGS (from vapier)
git-svn-id: svn://svn.icculus.org/quake3/trunk@183 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r--code/tools/lcc/makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/code/tools/lcc/makefile b/code/tools/lcc/makefile
index a0c9a70..c67a526 100644
--- a/code/tools/lcc/makefile
+++ b/code/tools/lcc/makefile
@@ -15,7 +15,8 @@ CC=gcc
LCC_CFLAGS=-O2 -Wall -fno-strict-aliasing
LDFLAGS=
LD=gcc
-AR=ar ruv
+AR=ar
+ARFLAGS=cru
RANLIB=ranlib
DIFF=diff
RM=rm -f
@@ -77,7 +78,7 @@ $(BD)q3rcc$(E):: $(BD)main$(O) $(BD)librcc$(A) $(EXTRAOBJS)
$(LD) $(LDFLAGS) -o $@ $(BD)main$(O) $(EXTRAOBJS) $(BD)librcc$(A) $(EXTRALIBS)
$(BD)librcc$(A): $(RCCOBJS)
- $(AR) $@ $(RCCOBJS); $(RANLIB) $@ || true
+ $(AR) $(ARFLAGS) $@ $(RCCOBJS); $(RANLIB) $@ || true
$(RCCOBJS): src/c.h src/token.h src/config.h
@@ -145,7 +146,7 @@ $(BD)host$(O): $(HOSTFILE); $(CC) $(LCC_CFLAGS) -c -DSYSTEM=\"\" -o $@ $(HOSTFIL
LIBOBJS=$(BD)assert$(O) $(BD)bbexit$(O) $(BD)yynull$(O)
-$(BD)liblcc$(A): $(LIBOBJS); $(AR) $@ $(BD)assert$(O) $(BD)bbexit$(O) $(BD)yynull$(O); $(RANLIB) $@ || true
+$(BD)liblcc$(A): $(LIBOBJS); $(AR) $(ARFLAGS) $@ $(BD)assert$(O) $(BD)bbexit$(O) $(BD)yynull$(O); $(RANLIB) $@ || true
$(BD)assert$(O): lib/assert.c; $(CC) $(LCC_CFLAGS) -c -o $@ lib/assert.c
$(BD)yynull$(O): lib/yynull.c; $(CC) $(LCC_CFLAGS) -c -o $@ lib/yynull.c