From ecc0033b54847f6c9ee37dbb0be8aa17e5b6d37b Mon Sep 17 00:00:00 2001 From: Loo Rong Jie Date: Tue, 22 Oct 2019 08:34:46 +0800 Subject: Always enable proper symbolize implementation on Windows (#257) --- absl/debugging/BUILD.bazel | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'absl/debugging/BUILD.bazel') diff --git a/absl/debugging/BUILD.bazel b/absl/debugging/BUILD.bazel index b87c55a54f61..beec279ff8e2 100644 --- a/absl/debugging/BUILD.bazel +++ b/absl/debugging/BUILD.bazel @@ -70,8 +70,14 @@ cc_library( cc_test( name = "symbolize_test", srcs = ["symbolize_test.cc"], - copts = ABSL_TEST_COPTS, - linkopts = ABSL_DEFAULT_LINKOPTS, + copts = ABSL_TEST_COPTS + select({ + "//absl:windows": ["/Z7"], + "//conditions:default": [], + }), + linkopts = ABSL_DEFAULT_LINKOPTS + select({ + "//absl:windows": ["/DEBUG"], + "//conditions:default": [], + }), deps = [ ":stack_consumption", ":symbolize", -- cgit 1.4.1