From 729b56300c441a0d63c7d2013eb5a881211d352b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 29 Jul 2015 12:20:53 +0200 Subject: Initial support for target type/pattern-specific variables --- build/algorithm.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'build/algorithm.cxx') diff --git a/build/algorithm.cxx b/build/algorithm.cxx index 615d4b7..bf10b84 100644 --- a/build/algorithm.cxx +++ b/build/algorithm.cxx @@ -85,9 +85,7 @@ namespace build size_t oi (o - 1); // Operation index in rule_map. scope& bs (t.base_scope ()); - for (auto tt (&t.type ()); - tt != nullptr && !t.recipe (ra); - tt = tt->base) + for (auto tt (&t.type ()); tt != nullptr; tt = tt->base) { // Search scopes outwards, stopping at the project root. // -- cgit v1.1