diff options
author | Kevin Tian <kevin.tian@intel.com> | 2011-01-05 10:18:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-06 10:06:29 +0000 |
commit | 73cc14980c5770d98473eadb0a4a986d2830f675 (patch) | |
tree | f07328301f9ebf4d01fd3e428c5791441cc62145 /meta/recipes-devtools/binutils/binutils.inc | |
parent | 39305385868901248c569456a1c7e30cc5166cad (diff) | |
download | poky-73cc14980c5770d98473eadb0a4a986d2830f675.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils.inc')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index 7f1f647977..d9e859ef2b 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc | |||
@@ -75,8 +75,6 @@ export CC_FOR_BUILD = "${BUILD_CC}" | |||
75 | export CPP_FOR_BUILD = "${BUILD_CPP}" | 75 | export CPP_FOR_BUILD = "${BUILD_CPP}" |
76 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" | 76 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" |
77 | 77 | ||
78 | export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" | ||
79 | |||
80 | do_configure () { | 78 | do_configure () { |
81 | (cd ${S}; gnu-configize) || die "Failed to run gnu-configize" | 79 | (cd ${S}; gnu-configize) || die "Failed to run gnu-configize" |
82 | oe_runconf | 80 | oe_runconf |