Disable gold linker build.
The ARM gold linker has too many issues at the moment:
- Does not build on Mingw cross-builds
- Crashes with SIGBUS on darwin-x86
- On linux-x86, generates weird binaries that 'strip' complains about
Change-Id: I328ed19d137b75a268e247a014ba0ac27df409f3
diff --git a/build/tools/prebuilt-common.sh b/build/tools/prebuilt-common.sh
index fb8edda..8a9f8dc 100644
--- a/build/tools/prebuilt-common.sh
+++ b/build/tools/prebuilt-common.sh
@@ -526,10 +526,11 @@
ABI_CONFIGURE_TARGET="arm-linux-androideabi"
ABI_CONFIGURE_EXTRA_FLAGS="--with-gmp-version=4.2.4 --with-mpfr-version=2.4.1
--with-arch=armv5te"
- # Enable ARM Gold linker, except for Windows where it doesn't build
- if [ "$MINGW" != "yes" ] ; then
- ABI_CONFIGURE_EXTRA_FLAGS="$ABI_CONFIGURE_EXTRA_FLAGS --enable-gold=both/gold"
- fi
+ # Disable ARM Gold linker for now, it doesn't build on Windows, it
+ # crashes with SIGBUS on Darwin, and produces weird executables on
+ # linux that strip complains about... Sigh.
+ #ABI_CONFIGURE_EXTRA_FLAGS="$ABI_CONFIGURE_EXTRA_FLAGS --enable-gold=both/gold"
+
# Enable C++ exceptions, RTTI and GNU libstdc++ at the same time
# You can't really build these separately at the moment.
ABI_CFLAGS_FOR_TARGET="-fexceptions"