aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-05-02 08:25:23 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-05-02 09:49:37 -0700
commitaaa5600245ea328057a91752dfeaed0770136676 (patch)
treed59d297125a28321165a9ba397ceb56e28a84b2c /configure
parente8eafd94de1fc90a5f4724570f5882b01e1626dc (diff)
Fix issue related to empty bazel.rc file.
Change: 154840138
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index 75d3e160f5..dce59586ab 100755
--- a/configure
+++ b/configure
@@ -356,9 +356,8 @@ if [[ "$TF_NEED_VERBS" == "1" ]]; then
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