diff --git a/absl/types/BUILD.bazel b/absl/types/BUILD.bazel index 60d6a60fa..c2f033870 100644 --- a/absl/types/BUILD.bazel +++ b/absl/types/BUILD.bazel @@ -110,7 +110,7 @@ cc_test( name = "span_test", size = "small", srcs = ["span_test.cc"], - copts = ABSL_TEST_COPTS + ["-fexceptions"], + copts = ABSL_TEST_COPTS + ABSL_EXCEPTIONS_FLAG, deps = [ ":span", "//absl/base:config",