aboutsummaryrefslogtreecommitdiff
path: root/build2/cc
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc')
-rw-r--r--build2/cc/module.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/module.cxx b/build2/cc/module.cxx
index 00c5aa9..7ea790b 100644
--- a/build2/cc/module.cxx
+++ b/build2/cc/module.cxx
@@ -138,10 +138,10 @@ namespace build2
{
string ct;
- if (ops.config_sub_specified ())
+ if (config_sub)
{
ct = run<string> (3,
- ops.config_sub (),
+ *config_sub,
ci.target.c_str (),
[] (string& l, bool) {return move (l);});
l5 ([&]{trace << "config.sub target: '" << ct << "'";});