summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross.inc
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2014-11-07 13:21:57 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 10:18:37 +0000
commita832f18ac2ec1b7607a7991e03590983fa239889 (patch)
treef6d24d63f71eb318e3341180a96b13a70148c39e /meta/recipes-devtools/gcc/gcc-cross.inc
parenta0d91bbdefd8e4e8f78c4da5497343ec0cb42ce6 (diff)
downloadpoky-a832f18ac2ec1b7607a7991e03590983fa239889.tar.gz
gcc: Fix intermittent failures during configure
If configure or any of the components it uses from the shared work directory change, do_configure may fail. An existing do_preconfigure was created to handle these conditions, but a 'sed' operation was missed, and a call to gnu-configize was also missed. (From OE-Core rev: 21c2cfff14442cf224e3568bdbb9bcd4070be247) (From OE-Core rev: cb7548feaeb07eca4855223ff2fa6676882b6424) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index 4cdb55f3ee..4cae160e78 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -32,10 +32,6 @@ EXTRA_OECONF_PATHS = "\
32 32
33ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" 33ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
34 34
35do_configure_prepend () {
36 sed -i 's/BUILD_INFO=info/BUILD_INFO=/' ${S}/gcc/configure
37}
38
39do_compile () { 35do_compile () {
40 export CC="${BUILD_CC}" 36 export CC="${BUILD_CC}"
41 export AR_FOR_TARGET="${TARGET_SYS}-ar" 37 export AR_FOR_TARGET="${TARGET_SYS}-ar"