[FFmpeg-cvslog] configure: mips: Support both-endian compilers

Luca Barbato git at videolan.org
Wed Jan 27 20:34:01 CET 2016


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Mon Jan 18 17:03:28 2016 +0100| [e59708bb9d94f67381f19344b5e021591eb711bf] | committer: Luca Barbato

configure: mips: Support both-endian compilers

Use mips{,64}eb to force big endian and mips{,64}el to force little
endian.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e59708bb9d94f67381f19344b5e021591eb711bf
---

 configure |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/configure b/configure
index d776d0e..4c14163 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*)



More information about the ffmpeg-cvslog mailing list