aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile-rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-02-14 12:27:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-02-14 12:27:11 +0200
commit8d1735e04faadaa6765c71b12a96188e6d56c9fa (patch)
treeaa5bb1d0a76e1e525bc4dd9cd5177c35d5d532c8 /build2/cc/compile-rule.cxx
parentedc9022131b77cec3fe5a662766e36fa9a71d23e (diff)
Don't ignore objX{} and bmiX{} prerequisites in cc::link_rule
Diffstat (limited to 'build2/cc/compile-rule.cxx')
-rw-r--r--build2/cc/compile-rule.cxx6
1 files changed, 2 insertions, 4 deletions
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<bmie> () || t.is_a<bmia> () || t.is_a<bmis> ());
+ bool mod (t.is_a<bmix> ());
// 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<bmis> () ||
- bt->is_a<bmia> () ||
- bt->is_a<bmie> ())
+ if (bt->is_a<bmix> ())
{
const string& n (cast<string> (bt->vars[c_module_name]));