Skip to content

Commit effbd42

Browse files
committed
Merge branch 'bc/make-avoid-unneeded-rebuild-with-compdb-dir'
Build performance fix. * bc/make-avoid-unneeded-rebuild-with-compdb-dir: Makefile: avoid constant rebuilds with compilation database
2 parents ae0b60e + 880146a commit effbd42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2805,7 +2805,7 @@ endif
28052805
compdb_dir = compile_commands
28062806

28072807
ifeq ($(GENERATE_COMPILATION_DATABASE),yes)
2808-
missing_compdb_dir = $(compdb_dir)
2808+
missing_compdb_dir = $(filter-out $(wildcard $(compdb_dir)), $(compdb_dir))
28092809
$(missing_compdb_dir):
28102810
@mkdir -p $@
28112811

0 commit comments

Comments
 (0)