configure: mips: Support both-endian compilers

Use mips{,64}eb to force big endian and mips{,64}el to force little
endian.
pull/170/merge
Luca Barbato 9 years ago
parent c4de754d4d
commit e59708bb9d
  1. 10
      configure

10
configure vendored

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

Loading…
Cancel
Save