From eacf7f7ccd40a56d1fe761d3d30ced6c6acd58da Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 1 Nov 2018 13:00:16 +0200 Subject: Add support for rule-specific variables, use to fix cc.type data race --- build2/scope.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build2/scope.hxx') diff --git a/build2/scope.hxx b/build2/scope.hxx index d40d14a..770f320 100644 --- a/build2/scope.hxx +++ b/build2/scope.hxx @@ -135,7 +135,8 @@ namespace build2 pair find_override (const variable&, pair original, - bool target = false) const; + bool target = false, + bool rule = false) const; // Return a value suitable for assignment (or append if you only want to // append to the value from this scope). If the value does not exist in -- cgit v1.1