Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index 2f48477b9750977c999af1c6408cdb762ebba269..beb6bebf555c1b608daf50230e12bf0711ec353e 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -484,6 +484,13 @@ config("compiler_cpu_abi") { |
} else if (current_cpu == "x86") { |
cflags += [ "-m32" ] |
ldflags += [ "-m32" ] |
+ if (!is_nacl) { |
+ cflags += [ |
+ "-msse2", |
+ "-mfpmath=sse", |
+ "-mmmx", |
+ ] |
+ } |
} else if (current_cpu == "arm") { |
if (is_clang && !is_android && !is_nacl) { |
cflags += [ |