gbuild: fix dependencies in gb_SrsPartTarget__command_dep
Use -MP to output dummy rules for included files so build doesn't break when an included file is removed. Change-Id: Ib230cfa5d5da71c7f5c15af5bdaa5004e6b7a122
This commit is contained in:
parent
bbef85c157
commit
9b92f21460
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ define gb_SrsPartTarget__command_dep
|
|||
$(call gb_Helper_abbreviate_dirs,\
|
||||
mkdir -p $(dir $(call gb_SrsPartTarget_get_dep_target,$(1))) && cd $(SRCDIR) && \
|
||||
$(gb_GCCP) \
|
||||
-MM -MT $(call gb_SrsPartTarget_get_target,$(1)) \
|
||||
-MM -MP -MT $(call gb_SrsPartTarget_get_target,$(1)) \
|
||||
$(INCLUDE) \
|
||||
$(DEFS) \
|
||||
-c -x c++-header $(2) \
|
||||
|
|
Loading…
Reference in a new issue