aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-06-28 09:18:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-06-28 09:18:14 +0200
commit6d0d0ea9b9767911e948703e0daca4722470fee8 (patch)
treeb186740880968ba847440146e2d6e1c2a19d4a3a
parent5ec97b3dada7388ddedeab34f91f2a2e5059925e (diff)
Minor tweaks and cleanups
-rw-r--r--libbuild2/adhoc-rule-cxx.cxx1
-rw-r--r--libbuild2/cc/link-rule.cxx3
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> ();