From de6ddefa9fbd80704e1911f298793cf8afb53dd9 Mon Sep 17 00:00:00 2001 From: Dragan Mrdjan Date: Fri, 20 Jul 2012 09:10:52 -0700 Subject: [PATCH] Disabling MIPS optimizations for big endian platforms Change-Id: Idae399ecbd10e287ef30b2e0b95822dc9175ce0a --- build/make/configure.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build/make/configure.sh b/build/make/configure.sh index 3c73f5988..b5ba4a985 100755 --- 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 -- 2.50.1