aboutsummaryrefslogtreecommitdiff
path: root/build2/target
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-14 14:44:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-14 14:44:03 +0200
commitbee7ac72e5cf6856c1dd94875eb3026aeedf702d (patch)
tree9415eb7e9afd860032c1e3e0d1488d291ed7290a /build2/target
parent0275a8661dce5b89960d2baf6245bf08679fb596 (diff)
Preserve failed state even if recipe is overridden
Diffstat (limited to 'build2/target')
-rw-r--r--build2/target4
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/target b/build2/target
index c196060..e7e15ab 100644
--- a/build2/target
+++ b/build2/target
@@ -500,8 +500,10 @@ namespace build2
bool
group_state () const;
+ // Raw state, normally not accessed directly.
+ //
public:
- target_state state_; // Raw state, normally not accessed directly.
+ target_state state_ = target_state::unknown;
// Recipe.
//