diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-01-18 19:03:28 +0300 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-01-19 22:47:49 +0300 |
commit | e59708bb9d94f67381f19344b5e021591eb711bf (patch) | |
tree | d659b9dbac15d6e4420a9fe6114db4b8f9c8d159 | |
parent | c4de754d4dac5ddae4d5a6f02798c0f560771921 (diff) |
configure: mips: Support both-endian compilers
Use mips{,64}eb to force big endian and mips{,64}el to force little
endian.
-rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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*) |