]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Makefile
Add ALL_LDFLAGS to the git target.
[thirdparty/git.git] / Makefile
index 4edb3833212387f4a684cd6dc8ec99c5246a6e72..d945546eb88db19e8c56280f11711743d89a6d2b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -455,7 +455,8 @@ strip: $(PROGRAMS) git$X
 
 git$X: git.c common-cmds.h $(LIB_FILE)
        $(CC) -DGIT_VERSION='"$(GIT_VERSION)"' \
-               $(ALL_CFLAGS) -o $@ $(filter %.c,$^) $(LIB_FILE) $(LIBS)
+               $(ALL_CFLAGS) -o $@ $(filter %.c,$^) $(LIB_FILE) \
+               $(ALL_LDFLAGS) $(LIBS)
 
 common-cmds.h: Documentation/git-*.txt
        ./generate-cmdlist.sh > $@