diff options
Diffstat (limited to 'external/skia/fix-gcc-x86.patch.1')
-rw-r--r-- | external/skia/fix-gcc-x86.patch.1 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/external/skia/fix-gcc-x86.patch.1 b/external/skia/fix-gcc-x86.patch.1 new file mode 100644 index 000000000..097c59475 --- /dev/null +++ b/external/skia/fix-gcc-x86.patch.1 @@ -0,0 +1,16 @@ +--- skia/third_party/skcms/src/Transform_inl.h 2020-04-13 00:38:56.363207994 +0200 ++++ skia/third_party/skcms/src/Transform_inl.h~ 2020-04-13 00:39:18.215603244 +0200 +@@ -689,11 +689,11 @@ + && (defined(__mips64) || defined(__i386) || defined(__s390x__)) + #define MAYBE_NOINLINE __attribute__((noinline)) + #else +- #define MAYBE_NOINLINE ++ #define MAYBE_NOINLINE static + #endif + + MAYBE_NOINLINE +-static void clut(const skcms_A2B* a2b, F* r, F* g, F* b, F a) { ++void clut(const skcms_A2B* a2b, F* r, F* g, F* b, F a) { + const int dim = (int)a2b->input_channels; + assert (0 < dim && dim <= 4); + |