From 8ababa51319753c5c697374c722bb01e845e3e68 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 25 Oct 2018 17:18:37 +0200 Subject: Redesign cc::compiler_id to make variant customizable --- build2/cc/module.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cc/module.cxx') 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_); -- cgit v1.1