aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/cc/link-rule.hxx2
-rw-r--r--libbuild2/rule.hxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/cc/link-rule.hxx b/libbuild2/cc/link-rule.hxx
index 7a357a6..db48160 100644
--- a/libbuild2/cc/link-rule.hxx
+++ b/libbuild2/cc/link-rule.hxx
@@ -49,6 +49,8 @@ namespace build2
target_state
perform_clean (action, const target&) const;
+ using simple_rule::match; // To make Clang happy.
+
private:
friend class install_rule;
friend class libux_install_rule;
diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx
index 298ed6b..ae9c865 100644
--- a/libbuild2/rule.hxx
+++ b/libbuild2/rule.hxx
@@ -179,6 +179,8 @@ namespace build2
virtual bool
match (action, target&, const string&) const override;
+ using simple_rule::match; // To make Clang happy.
+
// Dump support.
//
virtual void