ffmpeg | branch: master | Luca Barbato <lu_z...@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*)

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to