diff options
Diffstat (limited to 'third_party/third_party.gni')
-rw-r--r-- | third_party/third_party.gni | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/third_party/third_party.gni b/third_party/third_party.gni index 34751c0286..37b1e03687 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" ] + } } } |