summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-10-03 21:49:20 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-03 21:49:20 -0700
commit65351024eb95eac4b198c1b82ed30196814488c4 (patch)
tree1e0224baafc3c5cd7412e68dad7c6e03a199cddc /Makefile
parentMerge branch 'ab/make-clean-depend-dirs' (diff)
parentMakefile: make COMPUTE_HEADER_DEPENDENCIES=auto work with DEVOPTS=pedantic (diff)
downloadtgif-65351024eb95eac4b198c1b82ed30196814488c4.tar.xz
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 fc821a9e36..cbf023289a 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 $$?)