aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile-rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/compile-rule.cxx')
-rw-r--r--build2/cc/compile-rule.cxx3
1 files changed, 3 insertions, 0 deletions
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<file> (
(mod ? *x_mod : x_src),