Skip to content

Commit 8a7a90b

Browse files
avargitster
authored andcommitted
Makefile: remove redundant GIT-CFLAGS dependency from "sparse"
The "sparse" target needed the GIT-CFLAGS dependency before my c234e8a (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c234e8a commit 8a7a90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2903,7 +2903,7 @@ check-sha1:: t/helper/test-tool$X
29032903

29042904
SP_OBJ = $(patsubst %.o,%.sp,$(C_OBJ))
29052905

2906-
$(SP_OBJ): %.sp: %.c %.o GIT-CFLAGS
2906+
$(SP_OBJ): %.sp: %.c %.o
29072907
$(QUIET_SP)cgcc -no-compile $(ALL_CFLAGS) $(EXTRA_CPPFLAGS) \
29082908
-Wsparse-error \
29092909
$(SPARSE_FLAGS) $(SP_EXTRA_FLAGS) $< && \

0 commit comments

Comments
 (0)