aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/module.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-10-25 17:18:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-10-25 17:44:42 +0200
commit8ababa51319753c5c697374c722bb01e845e3e68 (patch)
treec8f89bffc129d3004da232c327eb81b9a1459e77 /build2/cc/module.cxx
parent59dec666d17fdd7c5394c3c081cf21381a8af07d (diff)
Redesign cc::compiler_id to make variant customizable
Diffstat (limited to 'build2/cc/module.cxx')
-rw-r--r--build2/cc/module.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/module.cxx b/build2/cc/module.cxx
index 76935f9..363f1d0 100644
--- a/build2/cc/module.cxx
+++ b/build2/cc/module.cxx
@@ -163,7 +163,7 @@ namespace build2
// Assign values to variables that describe the compiler.
//
rs.assign (x_id) = ci.id.string ();
- rs.assign (x_id_type) = ci.id.type;
+ rs.assign (x_id_type) = to_string (ci.id.type);
rs.assign (x_id_variant) = ci.id.variant;
rs.assign (x_class) = to_string (ci.class_);