diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-25 17:03:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-25 17:03:34 +0200 |
commit | acc55682af442ec56f3f21ccf6be4f5ee453c3f3 (patch) | |
tree | 136720d6460b133afa266f9059f26d8743bd0af5 | |
parent | 7e3c4d85d4e2f46a4b7f118bd08ee5c2c49a6e50 (diff) |
Fix bug in C++ compiler guessing logic
-rw-r--r-- | build2/cxx/guess.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cxx/guess.cxx b/build2/cxx/guess.cxx index ad52847..b55fb27 100644 --- a/build2/cxx/guess.cxx +++ b/build2/cxx/guess.cxx @@ -902,7 +902,7 @@ namespace build2 // If we could pre-guess the type based on the excutable name, then // try the test just for that compiler. // - if (pre.empty ()) + if (!pre.empty ()) { gr = guess (cxx, pre); |