From d27b0f2fc1c2a3fb3135aff1eb521e19f8ce48cf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 15 May 2019 08:36:00 +0200 Subject: Add note --- build2/cc/link-rule.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build2/cc/link-rule.cxx') diff --git a/build2/cc/link-rule.cxx b/build2/cc/link-rule.cxx index 94e19e0..0365a3b 100644 --- a/build2/cc/link-rule.cxx +++ b/build2/cc/link-rule.cxx @@ -2033,6 +2033,9 @@ namespace build2 for (size_t i (0); i != sargs.size (); ++i) cs.append (sargs[i]); + // @@ Note that we don't hash output options so if one of the ad hoc + // members that we manage gets renamed, we will miss a rebuild. + if (dd.expect (cs.string ()) != nullptr) l4 ([&]{trace << "options mismatch forcing update of " << t;}); } -- cgit v1.1