2022-09-21 19:53:03 +00:00
|
|
|
diff --git a/bazel/copts.bzl b/bazel/copts.bzl
|
|
|
|
index 10be944f25..879518b92f 100644
|
|
|
|
--- a/bazel/copts.bzl
|
|
|
|
+++ b/bazel/copts.bzl
|
2024-05-29 00:29:41 +00:00
|
|
|
@@ -59,4 +59,7 @@ GRPC_LLVM_WARNING_FLAGS = [
|
2022-09-21 19:53:03 +00:00
|
|
|
GRPC_DEFAULT_COPTS = select({
|
|
|
|
"//:use_strict_warning": GRPC_LLVM_WARNING_FLAGS + ["-DUSE_STRICT_WARNING=1"],
|
|
|
|
"//conditions:default": [],
|
|
|
|
-})
|
2024-05-29 00:29:41 +00:00
|
|
|
+}) + select({
|
|
|
|
+ "@bazel_tools//src/conditions:windows": ["/std:c++14"],
|
|
|
|
+ "//conditions:default": ["-std=c++14"],
|
|
|
|
+})
|