aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Meumertzheim <fabian@meumertzhe.im>2023-06-13 12:30:34 +0200
committerGitHub <noreply@github.com>2023-06-13 10:30:34 +0000
commit0d072ce73b62bbd35d6119e4b56931011447e318 (patch)
treea39847b67932a610813f06d6370eaa0694b49d46
parent7dcfa35e5bfbe6bfe86c90cc4a27cfc50ea1c9e7 (diff)
downloadjazzer-api-0d072ce73b62bbd35d6119e4b56931011447e318.tar.gz
bazel: Fix build by switching to C++14 (#766)
-rw-r--r--.bazelrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.bazelrc b/.bazelrc
index c1e4db40..ed20aac3 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -11,6 +11,8 @@ build --nozip_undeclared_test_outputs
# GCC is supported on a best-effort basis.
common --repo_env=CC=clang
build --incompatible_enable_cc_toolchain_resolution
+# Required by abseil-cpp.
+build --cxxopt=-std=c++14
# Requires a relatively modern clang.
build:ci --features=layering_check
build:macos --apple_crosstool_top=@local_config_apple_cc//:toolchain