fix mips2 build target

tested with mips1 and mips2; this should cover 3/4 as well.
fixes an ftbfs reported on the debian issue tracker:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785000

Change-Id: I2458487c92bd638589fdfec5adb4f22102a5960c
This commit is contained in:
James Zern 2015-05-13 10:29:02 -07:00
parent 929a0fdccd
commit bf46d0acff

View File

@ -89,7 +89,8 @@ extern "C" {
#define WEBP_USE_INTRINSICS
#endif
#if defined(__mips__) && !defined(__mips64) && (__mips_isa_rev < 6)
#if defined(__mips__) && !defined(__mips64) && \
defined(__mips_isa_rev) && (__mips_isa_rev >= 1) && (__mips_isa_rev < 6)
#define WEBP_USE_MIPS32
#if (__mips_isa_rev >= 2)
#define WEBP_USE_MIPS32_R2