OSDN Git Service

Don't use ninja to build targets.
authorNicolas Geoffray <ngeoffray@google.com>
Wed, 23 Sep 2015 11:02:56 +0000 (12:02 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 23 Sep 2015 11:02:56 +0000 (12:02 +0100)
Ninja does not preserve the -e option given to make.

Change-Id: I3b540aa420a57369b67565477a31c6ff2c17afaf

tools/buildbot-build.sh

index eb64994..a670fc7 100755 (executable)
@@ -76,6 +76,8 @@ elif [[ $mode == "target" ]]; then
   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.