aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-12-12 13:29:10 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2014-12-12 13:29:10 +0800
commit3cad1206d25b7970bcda44e0d662cfb8422774cb (patch)
tree67bb920319d72b107128ebbf6fec3b68ea705a26 /build
parent51d35f549ee27b03dc337380b4452ed20e39803b (diff)
downloadndk-3cad1206d25b7970bcda44e0d662cfb8422774cb.tar.gz
Use default gcc to build platform libs
Use GCC 4.8 (Current default) instead of the first GCC 4.6 which is deprecated. The only downside observed so far is inconsistent DIV Tag between A15 (via -mcpu=cortex-a15) object by GCC4.6/binutils-2.21 and crt*.o by GCC4.8/binutils-2.24. Change-Id: Ibc9db06a4bd8b1ae1d8a7d3846eb8c28c47ff4e7
Diffstat (limited to 'build')
-rwxr-xr-xbuild/tools/gen-platforms.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/tools/gen-platforms.sh b/build/tools/gen-platforms.sh
index 9ffca807b..6abca57d3 100755
--- a/build/tools/gen-platforms.sh
+++ b/build/tools/gen-platforms.sh
@@ -390,7 +390,7 @@ get_default_compiler_for_arch()
else
# By default we want to use the first gcc (currently 4.6) instead of the default (gcc4.8)
# for best compatibility, at least before gcc4.6 (now deprecated) is removed from NDK package
- GCC_VERSION=$(get_first_gcc_version_for_arch $ARCH) # $(get_default_gcc_version_for_arch $ARCH)
+ GCC_VERSION=$(get_default_gcc_version_for_arch $ARCH) # $(get_first_gcc_version_for_arch $ARCH)
fi
for TAG in $HOST_TAG $HOST_TAG32; do
TOOLCHAIN_PREFIX="$NDK_DIR/$(get_toolchain_binprefix_for_arch $ARCH $GCC_VERSION $TAG)"