[oe-commits] Richard Purdie : gcc-cross: Drop TARGET_CC_ARCH

git at git.openembedded.org git at git.openembedded.org
Thu May 1 15:35:18 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 95ff1d9f74d436090fb58031e2123b7750b0ae43
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=95ff1d9f74d436090fb58031e2123b7750b0ae43

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu May  1 15:41:44 2014 +0100

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 <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/gcc/gcc-cross.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}"



More information about the Openembedded-commits mailing list