From 65243ddfdf8c84649baee51ff6aa1f98df2fd6d7 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Sat, 14 Jun 2014 15:55:21 +0100 Subject: [PATCH] There's nothing special about version.c that requires it to be linked separately. Copied from Perforce Change: 186627 ServerID: perforce.ravenbrook.com --- mps/code/comm.gmk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mps/code/comm.gmk b/mps/code/comm.gmk index 6e5adce14f5..d923532269a 100644 --- a/mps/code/comm.gmk +++ b/mps/code/comm.gmk @@ -210,6 +210,7 @@ MPMCOMMON = \ traceanc.c \ tract.c \ tree.c \ + version.c \ walk.c MPM = $(MPMCOMMON) $(MPMPF) $(AMC) $(AMS) $(AWL) $(LO) $(MV2) $(MVFF) $(PLINTH) @@ -634,8 +635,7 @@ endif $(PFM)/$(VARIETY)/%.a: $(ECHO) "$(PFM): $@" rm -f $@ - $(CC) $(CFLAGSSTRICT) -c -o $(PFM)/$(VARIETY)/version.o version.c - $(AR) $(ARFLAGS) $@ $^ $(PFM)/$(VARIETY)/version.o + $(AR) $(ARFLAGS) $@ $^ $(RANLIB) $@ # Executable