From d958d336a84bf5e87d6e36637548c447cf48d19f Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Fri, 4 Mar 2016 20:04:41 +0100 Subject: [PATCH] Try to fix the ARM cross-tools build * Gcc5 does not allow both --with-arch and --with-cpu anymore, so use just --with-cpu. --- build/scripts/build_cross_tools_gcc4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/scripts/build_cross_tools_gcc4 b/build/scripts/build_cross_tools_gcc4 index 7fac834ae7..a855f6107f 100755 --- a/build/scripts/build_cross_tools_gcc4 +++ b/build/scripts/build_cross_tools_gcc4 @@ -40,9 +40,9 @@ arm-*) # Multilib creates a lot of confusion as the wrong libs end up being linked. # For now, target Cortex-A8 devices. binutilsConfigureArgs="--disable-multilib --with-float=hard - --with-cpu=cortex-a8 --with-arch=armv7-a --with-fpu=vfpv3" + --with-cpu=cortex-a8 --with-fpu=vfpv3" gccConfigureArgs="--disable-multilib --with-float=hard - --with-cpu=cortex-a8 --with-arch=armv7-a --with-fpu=vfpv3" + --with-cpu=cortex-a8 --with-fpu=vfpv3" # TODO: Disable building with TLS support for ARM until implemented. binutilsConfigureArgs="$binutilsConfigureArgs --disable-tls"