From 89b60d13df310ae3afb8ee84b9feaaa0f25f53ad Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 14 Oct 2019 15:41:01 +0200 Subject: Add missing #ifndef BUILD2_BOOTSTRAP around find_msvc() call --- libbuild2/cc/guess.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbuild2/cc/guess.cxx') 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 -- cgit v1.1