diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-11-09 20:28:14 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-11-10 00:03:22 +0100 |
commit | 20193bcc93660a1510a7cd5ab8d0897e55ee7546 (patch) | |
tree | 7d0a5a9f587c6556dd0dad018872553b617a5ae4 /solenv/gbuild/SdiTarget.mk | |
parent | gbuild: HelpTarget: need more recipes... (diff) | |
download | core-20193bcc93660a1510a7cd5ab8d0897e55ee7546.tar.gz core-20193bcc93660a1510a7cd5ab8d0897e55ee7546.zip |
gbuild: SdiTarget: avoid more spurious rebuilds...
... because the .hxx file only occurs as a target in .d files of
objects, the rule for it will not trigger in a build from scratch and it
will be older than the SdiTarget itself and will be touched on the next
incremental build. Ensure that it's not older than the SdiTarget.
Change-Id: I49504814ff62efb22d1f10b37e3bec2ea841bfc9
Diffstat (limited to 'solenv/gbuild/SdiTarget.mk')
-rw-r--r-- | solenv/gbuild/SdiTarget.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/solenv/gbuild/SdiTarget.mk b/solenv/gbuild/SdiTarget.mk index a877695a45b0..d056aa6fea6e 100644 --- a/solenv/gbuild/SdiTarget.mk +++ b/solenv/gbuild/SdiTarget.mk @@ -36,7 +36,10 @@ $(call gb_SdiTarget_get_target,%) : $(SRCDIR)/%.sdi $(gb_SdiTarget_SVIDLDEPS) -fx$(EXPORTS) \ -fm$@ \ $(if $(gb_FULLDEPS),-fM$(call gb_SdiTarget_get_dep_target,$*)) \ - $<) + $< \ + && touch $@.hxx) +# touch the hxx file so it's newer than the target - the .hxx only occurs in +# generated .d files, so it's not a target yet when building from scratch! # rule necessary to rebuild cxx files that include the header $(call gb_SdiTarget_get_target,%.hxx) : $(call gb_SdiTarget_get_target,%) |