Skip to content

Commit 76659b1

Browse files
committed
Merge branch 'bc/make-avoid-unneeded-rebuild-with-compdb-dir' into seen
* bc/make-avoid-unneeded-rebuild-with-compdb-dir: Makefile: avoid constant rebuilds with compilation database
2 parents 57ce073 + 880146a commit 76659b1

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
@@ -2807,7 +2807,7 @@ endif
28072807
compdb_dir = compile_commands
28082808

28092809
ifeq ($(GENERATE_COMPILATION_DATABASE),yes)
2810-
missing_compdb_dir = $(compdb_dir)
2810+
missing_compdb_dir = $(filter-out $(wildcard $(compdb_dir)), $(compdb_dir))
28112811
$(missing_compdb_dir):
28122812
@mkdir -p $@
28132813

0 commit comments

Comments
 (0)