Index: build/config/sanitizers/BUILD.gn |
diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn |
index ddcb49f37e3099748dbc95fb87142ef8d69026aa..f034331039269a40e5de0f0ee1be6e992bdd1874 100644 |
--- a/build/config/sanitizers/BUILD.gn |
+++ b/build/config/sanitizers/BUILD.gn |
@@ -317,7 +317,7 @@ config("asan_flags") { |
cflags += [ "-fsanitize=address" ] |
if (!is_mac && !is_win) { |
cflags += [ "-fsanitize-address-use-after-scope" ] |
- } else { |
+ } else if (!is_win) { |
# https://crbug.com/708707 |
cflags += [ "-fno-sanitize-address-use-after-scope" ] |
} |