aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-03-08 05:17:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-03-08 05:17:19 +0200
commit6968ba7c1190016cda222337430bb1328757a3e5 (patch)
tree9ca6538a358ff37db679e074695b434499056ef6 /libbuild2/cc
parentc6a4d07f79c8167c86f4d64669c689852efcbd4c (diff)
Add update=execute special value for cases where it's not default
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/link-rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx
index d90cd75..48e5ad8 100644
--- a/libbuild2/cc/link-rule.cxx
+++ b/libbuild2/cc/link-rule.cxx
@@ -959,7 +959,7 @@ namespace build2
update_match = um = true;
}
}
- else if (v != "false" && v != "true")
+ else if (v != "false" && v != "true" && v != "execute")
{
fail << "unrecognized update variable value '" << v
<< "' specified for prerequisite " << p.prerequisite;