summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-10-03 21:49:21 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-03 21:49:21 -0700
commit93cccedb8f057c649ed59c284f0d5074e663d7d9 (patch)
tree563e2b80110d0432ab9b3086ba07ff2155e79a5d /Makefile
parentMerge branch 'bs/difftool-msg-tweak' (diff)
parentMakefile: pass -Wno-pendantic under GENERATE_COMPILATION_DATABASE=yes (diff)
downloadtgif-93cccedb8f057c649ed59c284f0d5074e663d7d9.tar.xz
Merge branch 'ab/make-compdb-fix'
Build update. * ab/make-compdb-fix: Makefile: pass -Wno-pendantic under GENERATE_COMPILATION_DATABASE=yes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cbf023289a..e04c942f58 100644
--- a/Makefile
+++ b/Makefile
@@ -1304,6 +1304,7 @@ endif
ifeq ($(GENERATE_COMPILATION_DATABASE),yes)
compdb_check = $(shell $(CC) $(ALL_CFLAGS) \
+ -Wno-pedantic \
-c -MJ /dev/null \
-x c /dev/null -o /dev/null 2>&1; \
echo $$?)