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
This commit is contained in:
2
Makefile
2
Makefile
@@ -2805,7 +2805,7 @@ endif
|
|||||||
compdb_dir = compile_commands
|
compdb_dir = compile_commands
|
||||||
|
|
||||||
ifeq ($(GENERATE_COMPILATION_DATABASE),yes)
|
ifeq ($(GENERATE_COMPILATION_DATABASE),yes)
|
||||||
missing_compdb_dir = $(compdb_dir)
|
missing_compdb_dir = $(filter-out $(wildcard $(compdb_dir)), $(compdb_dir))
|
||||||
$(missing_compdb_dir):
|
$(missing_compdb_dir):
|
||||||
@mkdir -p $@
|
@mkdir -p $@
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user