summaryrefslogtreecommitdiff
path: root/libm/Makefile
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-09-29 19:06:54 (GMT)
committerPeter S. Mazinger <ps.m@gmx.net>2005-09-29 19:06:54 (GMT)
commit8a03116fa2b84f56d0f65cb6c543718b72516f00 (patch)
tree2219059886b5339176844436699053e4f76effc0 /libm/Makefile
parent5632685c250e625f18f28f302ee0deb207ae0bd3 (diff)
Allow parallel building in libm
Diffstat (limited to 'libm/Makefile')
-rw-r--r--libm/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libm/Makefile b/libm/Makefile
index 6991017..ad26d07 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)