]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-cross: Drop TARGET_CC_ARCH
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 May 2014 14:41:44 +0000 (15:41 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 May 2014 21:49:00 +0000 (22:49 +0100)
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>
meta/recipes-devtools/gcc/gcc-cross.inc

index ef88d3f49c873707b275a15c2bf07153df696097..0bf29e34d31461d180af95bba23d8746b8277785 100644 (file)
@@ -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}"