aboutsummaryrefslogtreecommitdiff
path: root/cc/.bazelrc
diff options
context:
space:
mode:
authorwconner <wconner@google.com>2023-02-13 09:24:28 -0800
committerCopybara-Service <copybara-worker@google.com>2023-02-13 09:25:38 -0800
commitbf00eaceab125cae2c9758c3ac1a9ec59856e374 (patch)
tree63bf007af83e6d8b450c9539293eee63edc8edd0 /cc/.bazelrc
parent49a0ff0ed5e0de30ea9780272e30252d9c5b7221 (diff)
downloadtink-bf00eaceab125cae2c9758c3ac1a9ec59856e374.tar.gz
Update Abseil to LTS 20230125.
Also, upgrade to GCC 7 as required by latest Abseil release. https://github.com/abseil/abseil-cpp/blob/master/absl/base/policy_checks.h#L57 PiperOrigin-RevId: 509248959
Diffstat (limited to 'cc/.bazelrc')
-rw-r--r--cc/.bazelrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/.bazelrc b/cc/.bazelrc
index cf49bd138..e2435c978 100644
--- a/cc/.bazelrc
+++ b/cc/.bazelrc
@@ -2,5 +2,6 @@
# See: https://github.com/bazelbuild/bazel/issues/4341
build --copt=-DGRPC_BAZEL_BUILD
# Minumum C++ version. Override it building this project with
-# `bazel build --cxxopt='-std=c++<XY>' ...`
-build --cxxopt='-std=c++14'
+# `bazel build --cxxopt='-std=c++<XY>' --host_cxxopt='c++<XY>' ...`
+# (Both -std and --host_cxxopt must be set to force the desired version.)
+build --cxxopt='-std=c++14' --host_cxxopt='-std=c++14'