diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2014-11-18 06:46:56 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-11-18 06:46:57 +0000 |
commit | 54846bbfb2128a1560c8775459c6c656fc9360c8 (patch) | |
tree | db0b4e9c31e366ccafa822c1e3d5fa1ac7c02706 /build | |
parent | 496c63a19804499fc9175309cc9a5f7873f70219 (diff) | |
parent | 2ef5e8298444d4ab93fd66111d6f30da41fa42b1 (diff) | |
download | ndk-54846bbfb2128a1560c8775459c6c656fc9360c8.tar.gz |
Merge "Fix equal-versions compare for libstdc++ build"
Diffstat (limited to 'build')
-rwxr-xr-x | build/tools/build-gnu-libstdc++.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/tools/build-gnu-libstdc++.sh b/build/tools/build-gnu-libstdc++.sh index 2923b0199..48a313d64 100755 --- a/build/tools/build-gnu-libstdc++.sh +++ b/build/tools/build-gnu-libstdc++.sh @@ -393,7 +393,7 @@ for ABI in $ABIS; do DEFAULT_GCC_VERSION=$(get_default_gcc_version_for_arch $ARCH) for VERSION in $GCC_VERSION_LIST; do # Only build for this GCC version if it on or after DEFAULT_GCC_VERSION - if [ -z "$EXPLICIT_COMPILER_VERSION" ] && version_is_greater_than "$DEFAULT_GCC_VERSION" "${VERSION%%l}"; then + if [ -z "$EXPLICIT_COMPILER_VERSION" ] && ! version_is_greater_than "${VERSION%%l}" "$DEFAULT_GCC_VERSION"; then continue fi |