packages/libs/libwebp/patches/010-mips16.patch
Alexandru Ardelean a125119195 libwebp: bump to version 1.2.3
Drop upstreamed patch '001-fix-cmake-webpmux-linking.patch'.
Re-adapted patch '010-mips16.patch'

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-07-26 09:31:31 +03:00

11 lines
373 B
Diff

--- a/src/dsp/cpu.h
+++ b/src/dsp/cpu.h
@@ -106,7 +106,7 @@
#define WEBP_HAVE_NEON
#endif
-#if defined(__mips__) && !defined(__mips64) && defined(__mips_isa_rev) && \
+#if defined(__mips__) && !defined(__mips16) && !defined(__mips64) && defined(__mips_isa_rev) && \
(__mips_isa_rev >= 1) && (__mips_isa_rev < 6)
#define WEBP_USE_MIPS32
#if (__mips_isa_rev >= 2)