Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-09-03 23:49:30 +0300
committerJunio C Hamano <gitster@pobox.com>2021-09-03 23:49:30 +0300
commitd868e4d9ee5c91e9fb9b771950c99ebdd49a8e1e (patch)
tree8b059d034431403a92a038f59c46c3e74f2e8421 /Makefile
parent4c3bddb64f3cd906dec0335cb6d1b6e8bf54646b (diff)
parent325b06deda688e5110a134a4f8d390ed48af7b80 (diff)
Merge branch 'sg/make-fix-ar-invocation'
Build fix. * sg/make-fix-ar-invocation: Makefile: remove archives before manipulating them with 'ar'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d1feab008f..429c276058 100644
--- a/Makefile
+++ b/Makefile
@@ -2607,10 +2607,10 @@ $(REMOTE_CURL_PRIMARY): remote-curl.o http.o http-walker.o GIT-LDFLAGS $(GITLIBS
$(CURL_LIBCURL) $(EXPAT_LIBEXPAT) $(LIBS)
$(LIB_FILE): $(LIB_OBJS)
- $(QUIET_AR)$(AR) $(ARFLAGS) $@ $^
+ $(QUIET_AR)$(RM) $@ && $(AR) $(ARFLAGS) $@ $^
$(XDIFF_LIB): $(XDIFF_OBJS)
- $(QUIET_AR)$(AR) $(ARFLAGS) $@ $^
+ $(QUIET_AR)$(RM) $@ && $(AR) $(ARFLAGS) $@ $^
export DEFAULT_EDITOR DEFAULT_PAGER