Ninja does not preserve the -e option given to make.
Change-Id: I3b540aa420a57369b67565477a31c6ff2c17afaf
if [[ $TARGET_PRODUCT == "mips32r2_fp" ]]; then
env="$env USE_CLANG_PLATFORM_BUILD=true"
fi
+ # Disable NINJA for building on target, it does not support the -e option to Makefile.
+ env="$env USE_NINJA=false"
# Use '-e' to force the override of TARGET_GLOBAL_LDFLAGS.
# Also, we build extra tools that will be used by tests, so that
# they are compiled with our own linker.