diff --git a/private/cc_config.bzl b/private/cc_config.bzl index b2ce1ee1..0833eb3c 100644 --- a/private/cc_config.bzl +++ b/private/cc_config.bzl @@ -50,12 +50,6 @@ COPTS = select({ }) + select({ Label("@rules_cc//cc/compiler:clang"): [ "-Wno-nullability-extension", - # Work around https://github.com/llvm/llvm-project/issues/121984 and - # https://github.com/bazelbuild/rules_cc/issues/729. - "--system-header-prefix=absl/", - "--system-header-prefix=google/", - "--system-header-prefix=tools/", - "--system-header-prefix=upb/", ], Label("//conditions:default"): [], }) + select({