OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4de754
)
configure: mips: Support both-endian compilers
author
Luca Barbato
<lu_zero@gentoo.org>
Mon, 18 Jan 2016 16:03:28 +0000
(17:03 +0100)
committer
Luca Barbato
<lu_zero@gentoo.org>
Tue, 19 Jan 2016 19:47:49 +0000
(20:47 +0100)
Use mips{,64}eb to force big endian and mips{,64}el to force little
endian.
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
d776d0e
..
4c14163
100755
(executable)
--- 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*)