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. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
This commit is contained in:
parent
3930538586
commit
73cc14980c
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require binutils.inc
|
||||
|
||||
PR = "r3"
|
||||
PR = "r4"
|
||||
|
||||
LIC_FILES_CHKSUM="\
|
||||
file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
|
||||
|
|
Loading…
Reference in New Issue