From 8d1735e04faadaa6765c71b12a96188e6d56c9fa Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Feb 2018 12:27:11 +0200 Subject: Don't ignore objX{} and bmiX{} prerequisites in cc::link_rule --- build2/cc/compile-rule.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'build2/cc/compile-rule.cxx') diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx index 1e1d45d..a6d2d48 100644 --- a/build2/cc/compile-rule.cxx +++ b/build2/cc/compile-rule.cxx @@ -221,7 +221,7 @@ namespace build2 { tracer trace (x, "compile_rule::match"); - bool mod (t.is_a () || t.is_a () || t.is_a ()); + bool mod (t.is_a ()); // Link-up to our group (this is the obj/bmi{} target group protocol // which means this can be done whether we match or not). @@ -3481,9 +3481,7 @@ namespace build2 // @@ UTL: we need to (recursively) see through libux{} (and // also in pkgconfig_save()). // - if (bt->is_a () || - bt->is_a () || - bt->is_a ()) + if (bt->is_a ()) { const string& n (cast (bt->vars[c_module_name])); -- cgit v1.1