diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-28 09:18:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-28 09:18:14 +0200 |
commit | 6d0d0ea9b9767911e948703e0daca4722470fee8 (patch) | |
tree | b186740880968ba847440146e2d6e1c2a19d4a3a | |
parent | 5ec97b3dada7388ddedeab34f91f2a2e5059925e (diff) |
Minor tweaks and cleanups
-rw-r--r-- | libbuild2/adhoc-rule-cxx.cxx | 1 | ||||
-rw-r--r-- | libbuild2/cc/link-rule.cxx | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/adhoc-rule-cxx.cxx b/libbuild2/adhoc-rule-cxx.cxx index ad19481..e3dfe92 100644 --- a/libbuild2/adhoc-rule-cxx.cxx +++ b/libbuild2/adhoc-rule-cxx.cxx @@ -389,6 +389,7 @@ namespace build2 << "#include <libbuild2/depdb.hxx>" << '\n' << "#include <libbuild2/scope.hxx>" << '\n' << "#include <libbuild2/target.hxx>" << '\n' + << "#include <libbuild2/recipe.hxx>" << '\n' << "#include <libbuild2/dyndep.hxx>" << '\n' << "#include <libbuild2/context.hxx>" << '\n' << "#include <libbuild2/variable.hxx>" << '\n' diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx index e2bdf5d..e47a40d 100644 --- a/libbuild2/cc/link-rule.cxx +++ b/libbuild2/cc/link-rule.cxx @@ -845,6 +845,9 @@ namespace build2 // If not, then we may need the same in recursive-binless logic. // #if 0 + // @@ TMP hm, this hasn't actually been enabled. So may actually + // enable and see if it trips up (do git-blame for good measure). + // assert (false); // @@ TMP (remove before 0.16.0 release) #endif ux = &link_member (*ul, a, li)->as<libux> (); |