Forráskód Böngészése

Remove unneeded temporary file, libm.so will wait until libm.a target is finished

Peter S. Mazinger 18 éve
szülő
commit
17df0bf5cd
1 módosított fájl, 2 hozzáadás és 3 törlés
  1. 2 3
      libm/Makefile

+ 2 - 3
libm/Makefile

@@ -102,9 +102,8 @@ endif
 $(AR_LIB_NAME): $(OBJS) $(ARCH_OBJS)
 	$(INSTALL) -d $(TOPDIR)lib
 	$(RM) $(AR_LIB_NAME)
-	$(AR) $(ARFLAGS) $(AR_LIB_NAME).tmp $(OBJS)
-	$(AR) $(ARFLAGS) $(AR_LIB_NAME).tmp $(ARCH_OBJS)
-	mv $(AR_LIB_NAME).tmp $(AR_LIB_NAME)
+	$(AR) $(ARFLAGS) $(AR_LIB_NAME) $(OBJS)
+	$(AR) $(ARFLAGS) $(AR_LIB_NAME) $(ARCH_OBJS)
 
 $(SO_LIB_NAME): $(AR_LIB_NAME)
 	$(RM) $(TOPDIR)lib/$(SO_FULL_NAME) $(SO_LIB_NAME).$(MAJOR_VERSION) $(SO_LIB_NAME)