From: Luca Barbato Date: Mon, 18 Jan 2016 16:03:28 +0000 (+0100) Subject: configure: mips: Support both-endian compilers X-Git-Tag: android-x86-7.1-r1~252^2~1592 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e59708bb9d94f67381f19344b5e021591eb711bf;p=android-x86%2Fexternal-ffmpeg.git configure: mips: Support both-endian compilers Use mips{,64}eb to force big endian and mips{,64}el to force little endian. --- diff --git a/configure b/configure index d776d0e8ed..4c141634be 100755 --- a/configure +++ b/configure @@ -3320,6 +3320,16 @@ case "$arch" in arch="arm" ;; mips*|IP*) + case "$arch" in + *el) + add_cppflags -EL + add_ldflags -EL + ;; + *eb) + add_cppflags -EB + add_ldflags -EB + ;; + esac arch="mips" ;; parisc*|hppa*)