about summary refs log tree commit diff
diff options
context:
space:
mode:
authorjohnforestolson <jolson@google.com>2018-01-26T21·31-0500
committerGitHub <noreply@github.com>2018-01-26T21·31-0500
commitb301ce157fa252c93ffbaeeed525304c80815269 (patch)
tree675b396a28b9ec4faffa8540b09b15cd70bdfc87
parentf6eea9486ae1935017f42d1f89005ddafb0bd53a (diff)
parentda0d96c349fb490e67a89b511a40aad70f4a1d8a (diff)
Merge pull request #83 from rongjiecomputer/exception
[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",