From 8a03116fa2b84f56d0f65cb6c543718b72516f00 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 29 Sep 2005 19:06:54 +0000 Subject: Allow parallel building in libm --- libm/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libm') diff --git a/libm/Makefile b/libm/Makefile index 699101787..ad26d0797 100644 --- a/libm/Makefile +++ b/libm/Makefile @@ -102,8 +102,9 @@ endif $(AR_LIB_NAME): $(OBJS) $(ARCH_OBJS) $(INSTALL) -d $(TOPDIR)lib $(RM) $(AR_LIB_NAME) - $(AR) $(ARFLAGS) $(AR_LIB_NAME) $(OBJS) && \ - $(AR) $(ARFLAGS) $(AR_LIB_NAME) $(ARCH_OBJS) + $(AR) $(ARFLAGS) $(AR_LIB_NAME).tmp $(OBJS) + $(AR) $(ARFLAGS) $(AR_LIB_NAME).tmp $(ARCH_OBJS) + mv $(AR_LIB_NAME).tmp $(AR_LIB_NAME) $(SO_LIB_NAME): $(AR_LIB_NAME) $(RM) $(TOPDIR)lib/$(SO_FULL_NAME) $(SO_LIB_NAME).$(MAJOR_VERSION) $(SO_LIB_NAME) -- cgit v1.2.3