[llvm-commits] CVS: llvm/Makefile.rules

Reid Spencer reid at x10sys.com
Sun Dec 12 19:59:46 PST 2004



Changes in directory llvm:

Makefile.rules updated: 1.258 -> 1.259
---
Log message:

Make sure the archive doesn't have to exist before we remove it.


---
Diffs of the changes:  (+2 -2)

Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.258 llvm/Makefile.rules:1.259
--- llvm/Makefile.rules:1.258	Sun Dec 12 21:56:42 2004
+++ llvm/Makefile.rules	Sun Dec 12 21:59:35 2004
@@ -579,12 +579,12 @@
 	$(Echo) Building $(BuildMode) Bytecode Archive $(notdir $@) \
 	  "(internalize)"
 	$(Verb) $(BCLinkLib) -o $(ObjDir)/$(LIBRARYNAME).o $(ObjectsBC)
-	$(Verb) $(RM) $@
+	$(Verb) $(RM) -f $@
 	$(Verb) $(LArchive) $@ $(ObjDir)/$(LIBRARYNAME).o
 else
 $(LibName.BCA): $(BUILT_SOURCES) $(ObjectsBC) $(LibDir)/.dir
 	$(Echo) Building $(BuildMode) Bytecode Archive $(notdir $@)
-	$(Verb) $(RM) $@
+	$(Verb) $(RM) -f $@
 	$(Verb) $(LArchive) $@ $(ObjectsBC)
 
 endif






More information about the llvm-commits mailing list