aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/cc/install-rule.cxx16
1 files changed, 10 insertions, 6 deletions
diff --git a/libbuild2/cc/install-rule.cxx b/libbuild2/cc/install-rule.cxx
index 1d30a9f..28d1a58 100644
--- a/libbuild2/cc/install-rule.cxx
+++ b/libbuild2/cc/install-rule.cxx
@@ -405,11 +405,13 @@ namespace build2
void install_rule::
reapply (action a, target& t, match_extra& me) const
{
+ tracer trace ("cc::install_rule::reapply");
+
assert (a.operation () != update_id && !t.is_a<exe> ());
- text << "REMATCH " << t
- << ' ' << me.cur_options
- << ' ' << me.new_options; // @@ TMP
+ l6 ([&]{trace << "rematching " << t
+ << ", current options " << me.cur_options
+ << ", new options " << me.new_options;});
me.cur_options |= me.new_options;
@@ -746,11 +748,13 @@ namespace build2
void libux_install_rule::
reapply (action a, target& t, match_extra& me) const
{
+ tracer trace ("cc::linux_install_rule::reapply");
+
assert (a.operation () != update_id && !t.is_a<libue> ());
- text << "REMATCH " << t
- << ' ' << me.cur_options
- << ' ' << me.new_options; // @@ TMP
+ l6 ([&]{trace << "rematching " << t
+ << ", current options " << me.cur_options
+ << ", new options " << me.new_options;});
me.cur_options |= me.new_options;