packages/libs/libwebp/patches/010-mips16.patch
breakings 2944d7533c
libwebp: bump to version 1.2.3 (#487)
Drop upstreamed patch '001-fix-cmake-webpmux-linking.patch'.
Re-adapted patch '010-mips16.patch'

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

Co-authored-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-07-30 22:39:10 +08:00

12 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)