From acc55682af442ec56f3f21ccf6be4f5ee453c3f3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 25 Apr 2016 17:03:34 +0200 Subject: Fix bug in C++ compiler guessing logic --- build2/cxx/guess.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2') 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); -- cgit v1.1