From 34e5a2da18f76c7d7de79a5c12b0e85ee89c4095 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 21 Jul 2015 18:20:33 +0200 Subject: Fix postponed re-examination logic Now postponed takes precedence over changed. --- build/cli/rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/cli') diff --git a/build/cli/rule.cxx b/build/cli/rule.cxx index 9abe665..dff13f0 100644 --- a/build/cli/rule.cxx +++ b/build/cli/rule.cxx @@ -294,7 +294,7 @@ namespace build // target_state ts (reverse_execute_prerequisites (a, t)); - return r ? target_state::changed : ts; + return r && ts != target_state::postponed ? target_state::changed : ts; } } } -- cgit v1.1