aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbuild2/cc/guess.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/cc/guess.cxx b/libbuild2/cc/guess.cxx
index 52c9541..d3ad579 100644
--- a/libbuild2/cc/guess.cxx
+++ b/libbuild2/cc/guess.cxx
@@ -786,6 +786,7 @@ namespace build2
}
}
+#ifndef BUILD2_BOOTSTRAP
// If we pre-guessed MSVC or Clang (including clang-cl) try the search
// and if not found, try to locate the MSVC installation and fallback
// on that.
@@ -835,6 +836,7 @@ namespace build2
goto search;
}
}
+#endif
search:
#endif