configure: mips: Support both-endian compilers

Use mips{,64}eb to force big endian and mips{,64}el to force little
endian.
This commit is contained in:
Luca Barbato 2016-01-18 17:03:28 +01:00
parent c4de754d4d
commit e59708bb9d

10
configure vendored
View File

@ -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*)