From 009c53452eb8024f11dd5f8de7066bbe56f0da44 Mon Sep 17 00:00:00 2001
From: Jonathan Helmus <jjhelmus@gmail.com>
Date: Fri, 16 Mar 2018 12:10:51 -0500
Subject: [PATCH 1/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 d91583d277..ce49a1266e 100755
--- a/compile.sh
+++ b/compile.sh
@@ -63,7 +63,7 @@ display "."
 log "Building output/bazel"
 # We set host and target platform directly because we are building for the local
 # host.
-bazel_build "src:bazel_nojdk${EXE_EXT}" \
+bazel_build ${BAZEL_BUILD_OPTS} "src:bazel_nojdk${EXE_EXT}" \
   --action_env=PATH \
   --host_platform=@local_config_platform//:host \
   --platforms=@local_config_platform//:host \
-- 
2.20.1

