Skip to content

Commit dd20e4a

Browse files
avargitster
authored andcommitted
Makefile: pass -Wno-pendantic under GENERATE_COMPILATION_DATABASE=yes
The same bug fixed in the "COMPUTE_HEADER_DEPENDENCIES=auto" mode in the preceding commit was also present with "GENERATE_COMPILATION_DATABASE=yes". Let's fix it so it works again with "DEVOPTS=1". Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 225bc32 commit dd20e4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,6 +1310,7 @@ endif
13101310

13111311
ifeq ($(GENERATE_COMPILATION_DATABASE),yes)
13121312
compdb_check = $(shell $(CC) $(ALL_CFLAGS) \
1313+
-Wno-pedantic \
13131314
-c -MJ /dev/null \
13141315
-x c /dev/null -o /dev/null 2>&1; \
13151316
echo $$?)

0 commit comments

Comments
 (0)