aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/cxx/rule.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/cxx/rule.cxx b/build/cxx/rule.cxx
index 6f5606c..a8a869f 100644
--- a/build/cxx/rule.cxx
+++ b/build/cxx/rule.cxx
@@ -74,7 +74,8 @@ namespace build
//
if (t.is_a<obj> ())
- fail << diag_doing (a, t) << " directly not supported";
+ fail << diag_doing (a, t) << " target group" <<
+ info << "explicitly select either obja{} or objso{} member";
// See if we have a C++ source file.
//