git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
898f807
)
Makefile: enable -Wsparse-error for DEVELOPER build
author
Junio C Hamano
<redacted>
Sat, 31 Oct 2020 22:22:08 +0000
(15:22 -0700)
committer
Junio C Hamano
<redacted>
Sat, 31 Oct 2020 22:24:40 +0000
(15:24 -0700)
With -Wsparse-error, "make sparse" would fail, instead of just
giving a warning message.
Signed-off-by: Junio C Hamano <redacted>
config.mak.dev
patch
|
blob
|
history
diff --git
a/config.mak.dev
b/config.mak.dev
index 89b218d11a5313f327492795964793bec8670160..05c56e4a0acac697a0ae6a215542160d67ffee95 100644
(file)
--- a/
config.mak.dev
+++ b/
config.mak.dev
@@
-1,5
+1,6
@@
ifeq ($(filter no-error,$(DEVOPTS)),)
DEVELOPER_CFLAGS += -Werror
+SPARSE_FLAGS += -Wsparse-error
endif
ifneq ($(filter pedantic,$(DEVOPTS)),)
DEVELOPER_CFLAGS += -pedantic
git clone https://git.99rst.org/PROJECT