Index: third_party/third_party.gni |
diff --git a/third_party/third_party.gni b/third_party/third_party.gni |
index 34751c028693db62d6d3ad9e412c59af515d3d94..37b1e036878ca773551242763d6ccbd2ccd2321c 100644 |
--- a/third_party/third_party.gni |
+++ b/third_party/third_party.gni |
@@ -12,7 +12,11 @@ template("third_party") { |
public_configs = [ ":" + target_name + "_public" ] |
# Warnings are just noise if we're not maintaining the code. |
- cflags = [ "-w" ] |
+ if (is_win) { |
+ cflags = [ "/w" ] |
+ } else { |
+ cflags = [ "-w" ] |
+ } |
} |
} |