Convert the bootstrap system to using improved host platform detection.
Part of #6849.
Closes #9051.
PiperOrigin-RevId: 261196683
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh
index 6434f48..06a9854 100755
--- a/scripts/bootstrap/compile.sh
+++ b/scripts/bootstrap/compile.sh
@@ -301,6 +301,7 @@
cat <<EOF >${OUTPUT_DIR}/classes/com/google/devtools/build/lib/bazel/rules/tools.WORKSPACE
local_repository(name = 'bazel_tools', path = '${BAZEL_TOOLS_REPO}')
bind(name = "cc_toolchain", actual = "@bazel_tools//tools/cpp:default-toolchain")
+local_config_platform(name = 'local_config_platform')
EOF
create_deploy_jar "libblaze" "com.google.devtools.build.lib.bazel.Bazel" \