From ca0f9c71be279aee845bf5328ac0af8c02c8849e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 17 Apr 2019 13:42:37 +0200 Subject: Incorporate ad hoc prerequisite mtime into out-of-date determination --- build2/cc/compile-rule.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build2/cc/compile-rule.cxx') diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx index 3ed6075..298194a 100644 --- a/build2/cc/compile-rule.cxx +++ b/build2/cc/compile-rule.cxx @@ -4317,6 +4317,9 @@ namespace build2 // execute them to keep the dependency counts straight. Actually, no, we // may also have to update the modules. // + // Note that this also takes care of forcing update on any ad hoc + // prerequisite change. + // auto pr ( execute_prerequisites ( (mod ? *x_mod : x_src), -- cgit v1.1