From 30f3256b8e54750e14367c3a759a12ce59b215b8 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 13 Dec 2004 03:56:42 +0000 Subject: [PATCH] Always remove bytecode archives so that path mismatches don't cause the contents to not be updated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18872 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.rules b/Makefile.rules index 75e1cde2754..803d34c3ae7 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -579,10 +579,12 @@ $(LibName.BCA): $(BUILT_SOURCES) $(ObjectsBC) $(LibDir)/.dir $(GCCLD) $(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