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

Reid Spencer reid at x10sys.com
Sun Dec 12 19:56:53 PST 2004



Changes in directory llvm:

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

Always remove bytecode archives so that path mismatches don't cause the
contents to not be updated.


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

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






More information about the llvm-commits mailing list