aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar cushon <cushon@google.com>2018-05-14 01:51:45 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-05-14 01:53:21 -0700
commit849df36c5ad31ebe8791c4228321c38c6d0ae56c (patch)
treecc39afc4e667214b4aac69217fb697166c96ddd4 /scripts
parent5c3f5c9be7fa40d4fb3c35756891fab8483ca406 (diff)
Use the local JDK as the default target javabase
and continue to use the embedded JDK as the default host_javabase. PiperOrigin-RevId: 196471714
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap/compile.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh
index 9f53d1b84f..04e41a6012 100755
--- a/scripts/bootstrap/compile.sh
+++ b/scripts/bootstrap/compile.sh
@@ -349,6 +349,7 @@ function run_bazel_jar() {
--output_base=${OUTPUT_DIR}/out \
--output_user_root=${OUTPUT_DIR}/user_root \
--install_md5= \
+ --default_system_javabase="${JAVA_HOME}" \
--workspace_directory="$(get_cwd)" \
--nofatal_event_bus_exceptions \
${BAZEL_DIR_STARTUP_OPTIONS} \