Patchwork gcc-cross: Drop TARGET_CC_ARCH

login
register
mail settings
Submitter Richard Purdie
Date May 1, 2014, 2:41 p.m.
Message ID <1398955304.30460.83.camel@ted>
Download mbox | patch
Permalink /patch/71365/
State New
Headers show

Comments

Richard Purdie - May 1, 2014, 2:41 p.m.
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 <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index ef88d3f..0bf29e3 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}"