From 0ad89b10bd68e5df2d466b3dd45974a503c705da Mon Sep 17 00:00:00 2001
From: Jonathan Helmus <jjhelmus@gmail.com>
Date: Fri, 16 Mar 2018 12:10:51 -0500
Subject: [PATCH 2/2] allow args to be passed to bazel_build

Allow arguments to be passed to bazel_build via the BAZEL_BUILD_OPTS
environment variable.
---
 compile.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compile.sh b/compile.sh
index c2460fa4e0..39c7e4e209 100755
--- a/compile.sh
+++ b/compile.sh
@@ -92,7 +92,7 @@ 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_nojdk${EXE_EXT}" \
+bazel_build ${BAZEL_BUILD_OPTS} "src:bazel_nojdk${EXE_EXT}" \
   --action_env=PATH \
   --host_platform=@bazel_tools//platforms:host_platform \
   --platforms=@bazel_tools//platforms:target_platform \
-- 
2.19.1

