From: Richard Purdie Date: Thu, 1 May 2014 14:41:44 +0000 (+0100) Subject: gcc-cross: Drop TARGET_CC_ARCH X-Git-Tag: yocto-4.0~29315 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=74d8866814aec520822518cc4cb8a942f7069bf7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gcc-cross: Drop TARGET_CC_ARCH Since we no longer build target libs within gcc-cross, we can drop the TARGET_CC_ARCH flags and hence make it independent of tune. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index ef88d3f49c8..0bf29e34d31 100644 --- a/meta/recipes-devtools/gcc/gcc-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-cross.inc @@ -37,7 +37,7 @@ do_compile () { export RANLIB_FOR_TARGET="${TARGET_SYS}-ranlib" export LD_FOR_TARGET="${TARGET_SYS}-ld" export NM_FOR_TARGET="${TARGET_SYS}-nm" - export CC_FOR_TARGET="${CCACHE} ${TARGET_SYS}-gcc ${TARGET_CC_ARCH}" + export CC_FOR_TARGET="${CCACHE} ${TARGET_SYS}-gcc" export CFLAGS_FOR_TARGET="${TARGET_CFLAGS}" export CPPFLAGS_FOR_TARGET="${TARGET_CPPFLAGS}" export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}"