Skip to content

Commit

Permalink
Merge "Fix a help message in make-standalone-toolchain." into ndk-r11…
Browse files Browse the repository at this point in the history
…-release
  • Loading branch information
DanAlbert authored and Gerrit Code Review committed Mar 14, 2016
2 parents 06da29d + 5902c79 commit cda448b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build/tools/make-standalone-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,13 @@ TOOLCHAIN_PATH="$NDK_DIR/toolchains/$TOOLCHAIN_NAME/prebuilt/$SYSTEM"
if [ ! -d "$TOOLCHAIN_PATH" ] ; then
echo "Could not find toolchain: $TOOLCHAIN_PATH"
echo "Please use --toolchain=<name> with the name of a toolchain supported by the source NDK."
echo "Try one of: " `(cd "$NDK_DIR/toolchains" && ls)`
echo "Try one of: "
for tc in $(cd "$NDK_DIR/toolchains" && ls); do
if [ "$tc" != "llvm" ]; then
echo $tc
echo $tc | sed 's/-4.9$/-clang/'
fi
done
exit 1
fi

Expand Down

0 comments on commit cda448b

Please sign in to comment.