about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLoo Rong Jie <loorongjie@gmail.com>2018-01-25T01·58+0800
committerLoo Rong Jie <loorongjie@gmail.com>2018-01-25T01·58+0800
commitda0d96c349fb490e67a89b511a40aad70f4a1d8a (patch)
tree1b83e0c491f858e6ee6cf0d9eb2fbfcbdd28f67b
parentcf1db73d2ad969f0ebbe6f5ed42678517e493da2 (diff)
[Bazel/MSVC] Don't use -fexceptions directly
-rw-r--r--absl/types/BUILD.bazel2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/types/BUILD.bazel b/absl/types/BUILD.bazel
index 60d6a60fa881..c2f033870ab0 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",