Module: libav
Branch: master
Commit: e59708bb9d94f67381f19344b5e021591eb711bf

Author:    Luca Barbato <[email protected]>
Committer: Luca Barbato <[email protected]>
Date:      Mon Jan 18 17:03:28 2016 +0100

configure: mips: Support both-endian compilers

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

---

 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*)

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to