summaryrefslogtreecommitdiff
blob: a1b530990c024a22f3da8f6f65532da619f815b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Disable AVX2 code to prevent build failure with GCC

Bug: https://bugs.gentoo.org/608640

--- a/third_party/skia/include/core/SkPreConfig.h
+++ b/third_party/skia/include/core/SkPreConfig.h
@@ -125,7 +125,7 @@
     // These checks must be done in descending order to ensure we set the highest
     // available SSE level.
     #if defined(__AVX2__)
-        #define SK_CPU_SSE_LEVEL    SK_CPU_SSE_LEVEL_AVX2
+        #define SK_CPU_SSE_LEVEL    SK_CPU_SSE_LEVEL_AVX
     #elif defined(__AVX__)
         #define SK_CPU_SSE_LEVEL    SK_CPU_SSE_LEVEL_AVX
     #elif defined(__SSE4_2__)