From 8e904346350cff0453c8bcd524a40a631fc05485 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 9 Jan 2019 13:09:18 +0200 Subject: Tighten cc rules matching Specifically, make sure the rule does not match if there is a c-common prerequisites that it doesn't recognize. --- build2/cc/target.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cc/target.cxx') diff --git a/build2/cc/target.cxx b/build2/cc/target.cxx index 7039728..981f4d7 100644 --- a/build2/cc/target.cxx +++ b/build2/cc/target.cxx @@ -30,7 +30,7 @@ namespace build2 const target_type h::static_type { "h", - &file::static_type, + &cc::static_type, &target_factory, nullptr, /* fixed_extension */ &target_extension_var, -- cgit v1.1