]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Makefile
i18n: avoid parenthesized string as array initializer
[thirdparty/git.git] / Makefile
index b0f155ab305d1795ada45060460c52594e7a366a..92c1c5e23b96f8bed1b1ac2dbff6c05580ecf678 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2162,7 +2162,7 @@ check-sha1:: test-sha1$X
 check: common-cmds.h
        if sparse; \
        then \
-               for i in *.c; \
+               for i in $(patsubst %.o, %.c, $(GIT_OBJS)); \
                do \
                        sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; \
                done; \