From 2140a1c2817eacf013fe3ce559fb23cedb02febb Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 16 May 2017 17:43:52 +0200 Subject: Implement separate preprocess and compiler for GCC and Clang --- build2/cc/common.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build2/cc/common.hxx') diff --git a/build2/cc/common.hxx b/build2/cc/common.hxx index 0c8ff2b..c22140c 100644 --- a/build2/cc/common.hxx +++ b/build2/cc/common.hxx @@ -29,8 +29,9 @@ namespace build2 lang x_lang; const char* x; // Module name ("c", "cxx"). - const char* x_name; // Compiler name ("c", "c++"). + const char* x_name; // Compiler name ("c", "c++"; also used in -x). const char* x_default; // Compiler default ("gcc", "g++"). + const char* x_pext; // Preprocessed source extension (".i", ".ii"). const variable& config_x; const variable& config_x_poptions; -- cgit v1.1