diff options
author | ambrosin <ambrosin@google.com> | 2022-10-28 02:43:30 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-10-28 02:44:13 -0700 |
commit | e5f21adbb02618b69d38af89b71cd8e2b0e31f4b (patch) | |
tree | c6bf049192f87076cd962d08fac8bc65eeb1cdce /cc/.bazelrc | |
parent | 10cde5d339722667b48361598272a24d2a433710 (diff) | |
download | tink-e5f21adbb02618b69d38af89b71cd8e2b0e31f4b.tar.gz |
Upgrade BoringSSL and switch to C++14 as the minimum supported version
Many of the dependencies we use in Tink are moving to support only C++14. BoringSSL is an example (see https://github.com/google/boringssl/commit/493d5cbedda8690d17a323d3532acfb1fb1845ad#diff-bad5d9040d9fca0b5e67ed87fde70b1d1effd7110bcb4d6ed0c8f6e16be23be1). This change:
- Sets c++14 as the default version used by all the workspaces that use tink-cc and Bazel's default toolchain via `.bazerlrc` files. Tink users can override this by passing `--cxxopt='-std=c++<verison>'` or editing its toolchain.
- Upgrades BoringSSL to 2022-09-14's commit.
PiperOrigin-RevId: 484479474
Diffstat (limited to 'cc/.bazelrc')
-rw-r--r-- | cc/.bazelrc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cc/.bazelrc b/cc/.bazelrc index 94aad050a..cf49bd138 100644 --- a/cc/.bazelrc +++ b/cc/.bazelrc @@ -1,3 +1,6 @@ # Fix for grpc build error on macOS. # See: https://github.com/bazelbuild/bazel/issues/4341 -build --copt -DGRPC_BAZEL_BUILD +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' |