Index: gyp/core.gyp |
diff --git a/gyp/core.gyp b/gyp/core.gyp |
index 64cc79bf5b116fbc2f1223bc34e9b6f33df4d0c9..1ffcc7baefae5928b35d490448594ff6b06380f7 100644 |
--- a/gyp/core.gyp |
+++ b/gyp/core.gyp |
@@ -31,6 +31,11 @@ |
], |
'msvs_disabled_warnings': [4244, 4267,4345, 4390, 4554, 4800], |
'conditions': [ |
+ [ 'skia_arch_type == "x86"', { |
+ # GCC autovectorization makes some GMs flaky on 32-bit release builds. |
+ # skbug.com/2575. This bug is likely somewhere here in src/core. |
+ 'cflags': [ '-fno-tree-vectorize' ] |
+ }], |
[ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
'link_settings': { |
'libraries': [ |