Get stuff building with newer Bazel with sandboxing
After this, a newer version of Bazel is required to build the code.
201511240708+4433fa6 is the first version which will work.
Change-Id: Ifc41f11f2f21bdcd0f5f7d142d769ea8fa15921a
diff --git a/tools/bazel.rc b/tools/bazel.rc
index 6d5dc61..548f82b 100644
--- a/tools/bazel.rc
+++ b/tools/bazel.rc
@@ -1,11 +1,7 @@
-# TODO(Brian): Figure out how we're going to distribute Bazel so everybody
-# doesn't need to hand-edit this file or use a .bazelrc...
-build --package_path %workspace%:%workspace%/opt_bazel_base_workspace
-fetch --package_path %workspace%:%workspace%/opt_bazel_base_workspace
-query --package_path %workspace%:%workspace%/opt_bazel_base_workspace
-
+# Use our CROSSTOOL.
build --crosstool_top=//tools/cpp:toolchain
-build --spawn_strategy=standalone
+# Don't switch HOST compilers.
+build --host_crosstool_top=//tools/cpp:toolchain
# Show paths to a few more than just 1 target.
build --show_result 15