| Index: third_party/yasm/BUILD.gn
|
| diff --git a/third_party/yasm/BUILD.gn b/third_party/yasm/BUILD.gn
|
| index cd9b4532e6c8b1f9d052ac12702392d367288006..3c5215e7d48bad28333bd6073779253da507bc82 100644
|
| --- a/third_party/yasm/BUILD.gn
|
| +++ b/third_party/yasm/BUILD.gn
|
| @@ -148,8 +148,6 @@ if (current_toolchain == host_toolchain) {
|
| # re2c is missing CLOSEVOP from one switch.
|
| if (is_posix) {
|
| cflags = [ "-Wno-switch" ]
|
| - } else if (is_win) {
|
| - cflags = [ "/wd4267" ] # size_t to int conversion.
|
| }
|
| }
|
|
|
| @@ -248,9 +246,7 @@ if (current_toolchain == host_toolchain) {
|
| # directory, but the gen_x86_insn.py script does not make this easy.
|
| include_dirs = [ yasm_gen_include_dir ]
|
|
|
| - if (is_win) {
|
| - cflags = [ "/wd4267" ] # size_t to int conversion.
|
| - } else {
|
| + if (!is_win) {
|
| cflags = [
|
| "-ansi",
|
| "-pedantic",
|
|
|