Always replace instead of appending when creating archive files. It may be
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 4 Feb 2004 21:41:23 +0000 (21:41 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 4 Feb 2004 21:41:23 +0000 (21:41 +0000)
slightly slower, but I think we can handle it, especially if it means
BytecodeLibs are correctly regenerated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11122 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index bae0e9c001373146f55d49180ae58f11e5da90c8..017af9c64c80b926f994b33ef04bda62fec8d763 100644 (file)
@@ -352,7 +352,7 @@ Depend   := $(CXX) -MM -I$(LEVEL)/include $(CPPFLAGS)
 DependC  := $(CC)  -MM -I$(LEVEL)/include $(CPPFLAGS) 
 
 # Archive a bunch of .o files into a .a file...
-AR       = ${AR_PATH} cq 
+AR       = $(AR_PATH) cr
 
 #----------------------------------------------------------