Fix issue related to empty bazel.rc file.
Change: 154840138
diff --git a/configure b/configure
index 75d3e16..dce5958 100755
--- a/configure
+++ b/configure
@@ -356,9 +356,8 @@
 fi
 
 # Append CC optimization flags to bazel.rc
-echo >> tools/bazel.rc
 for opt in $CC_OPT_FLAGS; do
-  echo "build:opt --cxxopt=$opt --copt=$opt" >> tools/bazel.rc
+  write_to_bazelrc 'build:opt --cxxopt=$opt --copt=$opt'
 done
 
 # Run the gen_git_source to create links where bazel can track dependencies for