projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f31c400
)
Disabling MIPS optimizations for big endian platforms
author
Dragan Mrdjan
<dmrdjan@mips.com>
Fri, 20 Jul 2012 16:10:52 +0000
(09:10 -0700)
committer
Dragan Mrdjan
<dmrdjan@mips.com>
Fri, 20 Jul 2012 16:10:52 +0000
(09:10 -0700)
Change-Id: Idae399ecbd10e287ef30b2e0b95822dc9175ce0a
build/make/configure.sh
patch
|
blob
|
history
diff --git
a/build/make/configure.sh
b/build/make/configure.sh
index
3c73f59
..
b5ba4a9
100755
(executable)
--- a/
build/make/configure.sh
+++ b/
build/make/configure.sh
@@
-1149,6
+1149,18
@@
EOF
esac
fi
+ # only for MIPS platforms
+ case $(toolchain) in
+ mips*)
+ if enabled dspr2; then
+ if enabled big_endian; then
+ echo "dspr2 optimizations are available only for little endian platforms"
+ disable dspr2
+ fi
+ fi
+ ;;
+ esac
+
# for sysconf(3) and friends.
check_header unistd.h