Skip to contentSkip to conversation

binutils: use default ${CC} instead of defining it own

PATCH In review Kevin Tian 1 participant 1 message Jan 5, 2011

lore
Share & tools
lore

Kevin Tian

author
#0 lore raw

PATCH 1/4 binutils: use default ${CC} instead of defining it own

binutils.inc exports its own ${CC} which is similar to default ${CC} but missing ${TOOLCHAIN_OPTION}, which makes --sysroot option lost when compiling target binutils which then further breaks sstate.

---
 meta/recipes-devtools/binutils/binutils.inc       |    2 --
 meta/recipes-devtools/binutils/binutils_2.20.1.bb |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)
meta/recipes-devtools/binutils/binutils.inc +0 -2
index 7f1f647..d9e859e 100644
@@ -75,8 +75,6 @@ export CC_FOR_BUILD = "${BUILD_CC}"
 export CPP_FOR_BUILD = "${BUILD_CPP}"
 export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
 
-export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
-
 do_configure () {
 	(cd ${S}; gnu-configize) || die "Failed to run gnu-configize"
 	oe_runconf
meta/recipes-devtools/binutils/binutils_2.20.1.bb +1 -1
index b7212e7..75837b1 100644
@@ -1,6 +1,6 @@
 require binutils.inc
 
-PR = "r3"
+PR = "r4"
 
 LIC_FILES_CHKSUM="\
     file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
Signature · 1 line
1.6.0.4