aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-07-13 09:30:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-07-13 09:30:52 +0200
commit4b15244f65eb246d4e5d98ebfc1aa3137dc7275e (patch)
tree7bb1564772662ef22ea0dc12788938b28213b57c /libbuild2/cc
parentdb73844a1e11787025a8642f69a52b5f9c87aea2 (diff)
Add ability to extend rule interface in source-compatible manner
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/compile-rule.hxx2
-rw-r--r--libbuild2/cc/link-rule.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/cc/compile-rule.hxx b/libbuild2/cc/compile-rule.hxx
index 051b2e3..d6cb002 100644
--- a/libbuild2/cc/compile-rule.hxx
+++ b/libbuild2/cc/compile-rule.hxx
@@ -36,7 +36,7 @@ namespace build2
size_t copied; // First copied-over bmi*{}, 0 if none.
};
- class LIBBUILD2_CC_SYMEXPORT compile_rule: public rule, virtual common
+ class LIBBUILD2_CC_SYMEXPORT compile_rule: public simple_rule, virtual common
{
public:
compile_rule (data&&);
diff --git a/libbuild2/cc/link-rule.hxx b/libbuild2/cc/link-rule.hxx
index ce514b5..7a357a6 100644
--- a/libbuild2/cc/link-rule.hxx
+++ b/libbuild2/cc/link-rule.hxx
@@ -20,7 +20,7 @@ namespace build2
{
namespace cc
{
- class LIBBUILD2_CC_SYMEXPORT link_rule: public rule, virtual common
+ class LIBBUILD2_CC_SYMEXPORT link_rule: public simple_rule, virtual common
{
public:
link_rule (data&&);