Commit e59708bb authored by Luca Barbato's avatar Luca Barbato

configure: mips: Support both-endian compilers

Use mips{,64}eb to force big endian and mips{,64}el to force little
endian.
parent c4de754d
...@@ -3320,6 +3320,16 @@ case "$arch" in ...@@ -3320,6 +3320,16 @@ case "$arch" in
arch="arm" arch="arm"
;; ;;
mips*|IP*) mips*|IP*)
case "$arch" in
*el)
add_cppflags -EL
add_ldflags -EL
;;
*eb)
add_cppflags -EB
add_ldflags -EB
;;
esac
arch="mips" arch="mips"
;; ;;
parisc*|hppa*) parisc*|hppa*)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment