diff options
Diffstat (limited to 'compile.sh')
-rwxr-xr-x | compile.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh index dc414b18b6..c72a8026d1 100755 --- a/compile.sh +++ b/compile.sh @@ -81,7 +81,11 @@ source scripts/bootstrap/bootstrap.sh new_step 'Building Bazel with Bazel' display "." log "Building output/bazel" +# We set host and target platform directly since the defaults in @bazel_tools +# have not yet been generated. bazel_build "src:bazel${EXE_EXT}" \ + --experimental_host_platform=//tools/platforms:host_platform \ + --experimental_platforms=//tools/platforms:target_platform \ || fail "Could not build Bazel" bazel_bin_path="$(get_bazel_bin_path)/src/bazel${EXE_EXT}" [ -e "$bazel_bin_path" ] \ |