aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/guess.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-04 12:42:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-04 12:42:09 +0200
commitad770fe609d1958a64e7364861296ac5407611d9 (patch)
tree00636725cad5adebc03e6659b411c6123b8ebea9 /build2/cc/guess.hxx
parent398134d2b4d362f857de5d2c94942e919d0bc534 (diff)
Improve diagnostics when c-family modules using different toolchains
We now also warn on toolchain pattern mismatch.
Diffstat (limited to 'build2/cc/guess.hxx')
-rw-r--r--build2/cc/guess.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/guess.hxx b/build2/cc/guess.hxx
index 2eaa9d7..e3a4d8c 100644
--- a/build2/cc/guess.hxx
+++ b/build2/cc/guess.hxx
@@ -133,7 +133,7 @@ namespace build2
// unlike all the preceding fields, this one takes into account the
// compile options (e.g., -m32).
//
- // The cc_pattern is the toolchain program pattern that could sometimes be
+ // The pattern is the toolchain program pattern that could sometimes be
// derived for some toolchains. For example, i686-w64-mingw32-*-4.9.
//
// The bin_pattern is the binutils program pattern that could sometimes be
@@ -151,7 +151,7 @@ namespace build2
string signature;
string checksum;
string target;
- string cc_pattern;
+ string pattern;
string bin_pattern;
};