Makefile: remove redundant GIT-CFLAGS dependency from "sparse"
The "sparse" target needed the GIT-CFLAGS dependency before my
c234e8a0ec
(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>
This commit is contained in:
parent
c234e8a0ec
commit
8a7a90bc3d
2
Makefile
2
Makefile
@ -2903,7 +2903,7 @@ check-sha1:: t/helper/test-tool$X
|
|||||||
|
|
||||||
SP_OBJ = $(patsubst %.o,%.sp,$(C_OBJ))
|
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) \
|
$(QUIET_SP)cgcc -no-compile $(ALL_CFLAGS) $(EXTRA_CPPFLAGS) \
|
||||||
-Wsparse-error \
|
-Wsparse-error \
|
||||||
$(SPARSE_FLAGS) $(SP_EXTRA_FLAGS) $< && \
|
$(SPARSE_FLAGS) $(SP_EXTRA_FLAGS) $< && \
|
||||||
|
Loading…
Reference in New Issue
Block a user