From 2ff633c938efa4f4e8418aedb765878747058c80 Mon Sep 17 00:00:00 2001 From: James Zern Date: Wed, 13 May 2015 10:29:02 -0700 Subject: [PATCH] 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 (cherry picked from commit bf46d0acffd0c7e2e70757e42090ad273639435a) Change-Id: I2458487c92bd638589fdfec5adb4f22102a5960c --- src/dsp/dsp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dsp/dsp.h b/src/dsp/dsp.h index 2409bae1..490c67a8 100644 --- a/src/dsp/dsp.h +++ b/src/dsp/dsp.h @@ -73,7 +73,8 @@ extern "C" { #define WEBP_USE_NEON #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