From 3aec908be17e3e55bbe36c0f54f3021df782f010 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sat, 3 Jan 2009 01:11:39 +0000 Subject: [PATCH] Make sure that 'ranlib' runs only after 'ar' is completed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61598 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.rules | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.rules b/Makefile.rules index 49412d652d3..e1c6f5a2218 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -998,8 +998,7 @@ all-local:: $(LibName.A) $(LibName.A): $(ObjectsO) $(LibDir)/.dir $(Echo) Building $(BuildMode) Archive Library $(notdir $@) -$(Verb) $(RM) -f $@ - $(Verb) $(Archive) $@ $(ObjectsO) - -$(Verb) $(Ranlib) $@ + $(Verb) $(Archive) $@ $(ObjectsO) && $(Ranlib) $@ clean-local:: ifneq ($(strip $(LibName.A)),)