aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/link-rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-12-11 08:50:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-12-11 08:50:24 +0200
commitbc5d79f658d26fdcdab7314feb19c261c2693efa (patch)
tree15a7da8f53fb341a8bd83f6be151dcba56613ba5 /libbuild2/cc/link-rule.cxx
parent4cf87fa84a6938e262fd6122e654e5a483a78abe (diff)
Add $cxx.obj_modules() which returns object files for binless modules
Diffstat (limited to 'libbuild2/cc/link-rule.cxx')
-rw-r--r--libbuild2/cc/link-rule.cxx5
1 files changed, 5 insertions, 0 deletions
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);
}