diff options
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r-- | gn/BUILD.gn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index c574f928a2..97bb0303ff 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -112,7 +112,9 @@ config("default") { "-mfpu=neon", "-mthumb", ] - } else if (current_cpu == "x86" && !is_win) { + } else if (current_cpu == "x86" && is_win) { + cflags += [ "/arch:SSE2" ] + } else if (current_cpu == "x86") { asmflags += [ "-m32" ] cflags += [ "-m32", |