From e59708bb9d94f67381f19344b5e021591eb711bf Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Mon, 18 Jan 2016 17:03:28 +0100 Subject: configure: mips: Support both-endian compilers Use mips{,64}eb to force big endian and mips{,64}el to force little endian. --- configure | 10 ++++++++++ 1 file changed, 10 insertions(+) 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*) -- cgit v1.2.3