about summary refs log tree commit diff
path: root/third_party/abseil_cpp/absl/copts/configure_copts.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/abseil_cpp/absl/copts/configure_copts.bzl')
-rw-r--r--third_party/abseil_cpp/absl/copts/configure_copts.bzl6
1 files changed, 2 insertions, 4 deletions
diff --git a/third_party/abseil_cpp/absl/copts/configure_copts.bzl b/third_party/abseil_cpp/absl/copts/configure_copts.bzl
index ff9a5ea9f482..4d3425444349 100644
--- a/third_party/abseil_cpp/absl/copts/configure_copts.bzl
+++ b/third_party/abseil_cpp/absl/copts/configure_copts.bzl
@@ -23,15 +23,13 @@ load(
 
 ABSL_DEFAULT_COPTS = select({
     "//absl:windows": ABSL_MSVC_FLAGS,
-    "//absl:llvm_compiler": ABSL_LLVM_FLAGS,
+    "//absl:clang_compiler": ABSL_LLVM_FLAGS,
     "//conditions:default": ABSL_GCC_FLAGS,
 })
 
-# in absence of modules (--compiler=gcc or -c opt), cc_tests leak their copts
-# to their (included header) dependencies and fail to build outside absl
 ABSL_TEST_COPTS = ABSL_DEFAULT_COPTS + select({
     "//absl:windows": ABSL_MSVC_TEST_FLAGS,
-    "//absl:llvm_compiler": ABSL_LLVM_TEST_FLAGS,
+    "//absl:clang_compiler": ABSL_LLVM_TEST_FLAGS,
     "//conditions:default": ABSL_GCC_TEST_FLAGS,
 })