diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-22 09:24:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-22 09:24:12 +0200 |
commit | 6ecaa7e76c91a2842bcc63626a908bb2340b77b6 (patch) | |
tree | aa0e3d8d5f9f791dfa1735ce7d8cc276a2c0baf3 /build/bin | |
parent | 82ad80de9a967f253026c4874b47486c69402288 (diff) |
Remove prerequisite rewriting for c/cxx chaining
Diffstat (limited to 'build/bin')
-rw-r--r-- | build/bin/rule.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
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<liba&> (search (prerequisite_key { - {&liba::static_type, &t.dir, &t.name, &t.ext}, nullptr})); + t.a = &search<liba> (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<libso&> (search (prerequisite_key { - {&libso::static_type, &t.dir, &t.name, &t.ext}, nullptr})); + t.so = &search<libso> (t.dir, t.name, t.ext, nullptr); build::match (a, *t.so); } |