Makefile: enable -Wsparse-error for DEVELOPER build

With -Wsparse-error, "make sparse" would fail, instead of just giving a warning message. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Oct 31, 2020 at 15:22 UTC 521dc56270d6b4e3258175b6c521e16842acccf7
1 file changed +1
config.mak.dev
+1
@@ -1,5 +1,6 @@
1 ifeq ($(filter no-error,$(DEVOPTS)),)
2 DEVELOPER_CFLAGS += -Werror
3 +SPARSE_FLAGS += -Wsparse-error
4 endif
5 ifneq ($(filter pedantic,$(DEVOPTS)),)
6 DEVELOPER_CFLAGS += -pedantic