summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-10-04 04:49:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-10-04 04:49:20 (GMT)
commit65351024eb95eac4b198c1b82ed30196814488c4 (patch)
tree1e0224baafc3c5cd7412e68dad7c6e03a199cddc /Makefile
parent2498121cd682bc402d3b1b3d3948f725fdb6c684 (diff)
parent731b6859c41de0e03ff99c704db4bb621a87fb88 (diff)
downloadgit-65351024eb95eac4b198c1b82ed30196814488c4.zip
git-65351024eb95eac4b198c1b82ed30196814488c4.tar.gz
git-65351024eb95eac4b198c1b82ed30196814488c4.tar.bz2
Merge branch 'ab/auto-depend-with-pedantic'
Improve build procedure for developers. * ab/auto-depend-with-pedantic: Makefile: make COMPUTE_HEADER_DEPENDENCIES=auto work with DEVOPTS=pedantic
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fc821a9..cbf0232 100644
--- a/Makefile
+++ b/Makefile
@@ -1278,6 +1278,7 @@ endif
ifeq ($(COMPUTE_HEADER_DEPENDENCIES),auto)
dep_check = $(shell $(CC) $(ALL_CFLAGS) \
+ -Wno-pedantic \
-c -MF /dev/null -MQ /dev/null -MMD -MP \
-x c /dev/null -o /dev/null 2>&1; \
echo $$?)