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>
Ævar Arnfjörð Bjarmason committed
Oct 21, 2021 at 22:00 UTC
8a7a90bc3de91db34a45cfd1f28e6f79ba91fd87
1 file changed
+1
-1
Makefile
+1
-1
@@ -2903,7 +2903,7 @@ check-sha1:: t/helper/test-tool$X
2903
2904
SP_OBJ = $(patsubst %.o,%.sp,$(C_OBJ))
2905
2906
-$(SP_OBJ): %.sp: %.c %.o GIT-CFLAGS
2906
+$(SP_OBJ): %.sp: %.c %.o
2907
$(QUIET_SP)cgcc -no-compile $(ALL_CFLAGS) $(EXTRA_CPPFLAGS) \
2908
-Wsparse-error \
2909
$(SPARSE_FLAGS) $(SP_EXTRA_FLAGS) $< && \