From bc5d79f658d26fdcdab7314feb19c261c2693efa Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 11 Dec 2020 08:50:24 +0200 Subject: Add $cxx.obj_modules() which returns object files for binless modules --- libbuild2/cc/link-rule.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbuild2/cc/link-rule.cxx') diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx index 3f6824e..f0fb198 100644 --- a/libbuild2/cc/link-rule.cxx +++ b/libbuild2/cc/link-rule.cxx @@ -2765,6 +2765,11 @@ namespace build2 { hash_path (cs, f->path (), rs.out_path ()); + // @@ Do we actually need to hash this? I don't believe this set + // can change without rendering the object file itself out of + // date. Maybe in some pathological case where the bmi*{} is + // marked with bin.binless manually? + // if (modules) append_binless_modules (cs, rs, a, *f); } -- cgit v1.1