aboutsummaryrefslogtreecommitdiffhomepage
path: root/compile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile.sh b/compile.sh
index 31bb9c4f1c..48359e3777 100755
--- a/compile.sh
+++ b/compile.sh
@@ -93,8 +93,8 @@ 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}" \
- --host_platform=//tools/platforms:host_platform \
- --platforms=//tools/platforms:target_platform \
+ --host_platform=@bazel_tools//platforms:host_platform \
+ --platforms=@bazel_tools//platforms:target_platform \
|| fail "Could not build Bazel"
bazel_bin_path="$(get_bazel_bin_path)/src/bazel${EXE_EXT}"
[ -e "$bazel_bin_path" ] \