aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-14 15:41:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-14 15:41:01 +0200
commit89b60d13df310ae3afb8ee84b9feaaa0f25f53ad (patch)
treee27e4db71b91c013f60ebc8887d0ed0e0d4fc511
parent2671496db7c3996a6d8467360979f3085375c6df (diff)
Add missing #ifndef BUILD2_BOOTSTRAP around find_msvc() call
-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