aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2016-01-18 17:03:28 +0100
committerLuca Barbato <lu_zero@gentoo.org>2016-01-19 20:47:49 +0100
commite59708bb9d94f67381f19344b5e021591eb711bf (patch)
treed659b9dbac15d6e4420a9fe6114db4b8f9c8d159 /configure
parentc4de754d4dac5ddae4d5a6f02798c0f560771921 (diff)
downloadffmpeg-e59708bb9d94f67381f19344b5e021591eb711bf.tar.gz
configure: mips: Support both-endian compilers
Use mips{,64}eb to force big endian and mips{,64}el to force little endian.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
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*)