From 6ecaa7e76c91a2842bcc63626a908bb2340b77b6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 22 Jun 2015 09:24:12 +0200 Subject: Remove prerequisite rewriting for c/cxx chaining --- build/bin/rule.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'build/bin') diff --git a/build/bin/rule.cxx b/build/bin/rule.cxx index 22b7bc2..1834f7a 100644 --- a/build/bin/rule.cxx +++ b/build/bin/rule.cxx @@ -62,8 +62,7 @@ namespace build if (ar) { if (t.a == nullptr) - t.a = &static_cast (search (prerequisite_key { - {&liba::static_type, &t.dir, &t.name, &t.ext}, nullptr})); + t.a = &search (t.dir, t.name, t.ext, nullptr); build::match (a, *t.a); } @@ -71,8 +70,7 @@ namespace build if (so) { if (t.so == nullptr) - t.so = &static_cast (search (prerequisite_key { - {&libso::static_type, &t.dir, &t.name, &t.ext}, nullptr})); + t.so = &search (t.dir, t.name, t.ext, nullptr); build::match (a, *t.so); } -- cgit v1.1