summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-21 20:00:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-10-21 23:19:52 (GMT)
commit8a7a90bc3de91db34a45cfd1f28e6f79ba91fd87 (patch)
tree7e8ed12dea36d1df3d5d2341edcd5958d20737d1 /Makefile
parentc234e8a0ecfaa53f88b228e50fafe849402f6c49 (diff)
downloadgit-8a7a90bc3de91db34a45cfd1f28e6f79ba91fd87.zip
git-8a7a90bc3de91db34a45cfd1f28e6f79ba91fd87.tar.gz
git-8a7a90bc3de91db34a45cfd1f28e6f79ba91fd87.tar.bz2
Makefile: remove redundant GIT-CFLAGS dependency from "sparse"
The "sparse" target needed the GIT-CFLAGS dependency before my c234e8a0ecf (Makefile: make the "sparse" target non-.PHONY, 2021-09-23), but since then it depends on the corresponding *.o files, which in turn depend on the correct header files, as well as on GIT-CFLAGS. There's no need to re-state this dependency here. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8d085ab..3856879 100644
--- a/Makefile
+++ b/Makefile
@@ -2903,7 +2903,7 @@ check-sha1:: t/helper/test-tool$X
SP_OBJ = $(patsubst %.o,%.sp,$(C_OBJ))
-$(SP_OBJ): %.sp: %.c %.o GIT-CFLAGS
+$(SP_OBJ): %.sp: %.c %.o
$(QUIET_SP)cgcc -no-compile $(ALL_CFLAGS) $(EXTRA_CPPFLAGS) \
-Wsparse-error \
$(SPARSE_FLAGS) $(SP_EXTRA_FLAGS) $< && \